Search results for "dist:Sub-Clone Clone"
Sub::Clone - Clone subroutine refs for garbage collection/blessing purposes
A surprising fact about Perl is that anonymous subroutines that do not close over variables are actually shared, and do not garbage collect until global destruction: sub get_callback { return sub { "hi!" }; } my $first = get_callback(); my $second = ...
NUFFIN/Sub-Clone-0.03 - 14 Sep 2008 15:47:06 UTC