I would like to read something about passing code inside function. Lets say that:
This works: perl -e 'sub a(&){print(&{$_[0]}, "/n"};$_=0; a {$_++} foreach 1..100' This don't work perl -e 'sub a{print(&{$_[0]}, "/n"};$_=0; a {$_++} foreach 1..100' can someone give me some links Thanks MArcos -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>