sub x(&) { my $coderef = shift; use Data::Dumper; print Data::Dumper->Dump([$coderef],['coderef']) +; { $_ = 'bumpkin'; $coderef->(); } } x { print "$_.YYY" };
In reply to RE: Re (tilly) 1: passing and processing code references
by princepawn
in thread passing and processing code references
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |