Damian Conway writes:
> If domeone is putting this RFC together, please remember to propose
> that C<eval> and C<do> should handle opcodes as well as source:
> 
>       host-a:foo.pl:  dump SOCKET;
> 
>       host-b:bar.pl:  { local $/; eval <SOCKET> };
> 
> Or:
> 
>       sub suspend { open $fh, ">$_[0]" or die; dump $fh }
>       sub resume  { do $_[0] }

This is trickier than it first apperas, as the existing bytecode
shows.  A Perl program is opcode + variables.  Are you dumping symbol
tables?  When recreated, will the variables have the same values they
currently do?

Just a pointer for the eventual RFCer to address.

Nat

Reply via email to