XXX in the following to make it real?
$ 6 'my %h = a => 42, b => 666; dd $_ for %h,XXX'
Hash %h = {:a(42), :b(666)}
:a(42)
:b(666)
Regards,
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
ening? Even Perl 5 is nicer
in that situation…
--
Aristotle Pagaltzis // <http://plasmasturm.org/>
) that itself interprets another program
(the optree), which in turn was compiled from the user Perl program
earlier on.
Once you stop trying to artificially force everything into a single
absolute distinction, the entire debate about which is which vanishes.
Regards,
--
Aristotle Pagaltzis // http
, and that
they are more or less the only real examples of such.
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
* Aristotle Pagaltzis pagalt...@gmx.de [2009-01-02 23:00]:
That way, you get this combination:
sub pid_file_handler ( $filename ) {
# ... top half ...
yield;
# ... bottom half ...
}
sub init_server {
# ...
my $write_pid
$write_pid = pid_file_handler( $optionspid_file );
become_daemon();
$write_pid();
# ...
}
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/
that makes
sense to encourage for 5-to-6 migrations of Perl code as well?
Regards,
--
Aristotle Pagaltzis // http://plasmasturm.org/