Front page | perl.perl6.language |
Postings from August 2000
Re: Things to remove
From:
Jarkko Hietaniemi
Date:
August 21, 2000 13:48
Subject:
Re: Things to remove
Message ID:
20000821154822.B14522@chaos.wustl.edu
> In a void context, C<dump> dumps the program's current opcode representation
> to its filehandle argument (or STDOUT, by default).
>
> In a scalar or list context, C<dump> dumps nothing, but rather returns the
> I<source code> of its arguments (or of the current state of the entire
> program, by default).
Instant program migration:
host-a:foo.pl: print SOCKET dump;
host-b:bar.pl: { local $/; eval <SOCKET> };
--
$jhi++; # http://www.iki.fi/jhi/
# There is this special biologist word we use for 'stable'.
# It is 'dead'. -- Jack Cohen