On Fri, 2006-23-06 at 17:19 +0300, Muttley Meen wrote: > I searched around for a construct to permit for a block > of code to be passed as parameter, but with no success.
That's because you can't pass a block of code, you can only pass a reference to a block of code, or the text that can be compiled into code via eval. See: perldoc perlref perldoc perlsub -- __END__ Just my 0.00000002 million dollars worth, --- Shawn "For the things we have to learn before we can do them, we learn by doing them." Aristotle * Perl tutorials at http://perlmonks.org/?node=Tutorials * A searchable perldoc is at http://perldoc.perl.org/ -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>