Actually, in ruby I can have a method that accepts multiple blocks. Blocks don't HAVE to come as the last argument. def (&first_block, &second_block) will work as well. But in perl, I tried to do the same - by replacing sm(&$) to be sm($&) - but it does not work. So does that mean that in perl I can't have the block where ever I want, and pass it as the last argument? Why? - evgeny
----------- p5-cucumber http://github.com/kesor/p5-cucumber PS: oops, sorry for that spam message. it's not intentional. _______________________________________________ Perl mailing list [email protected] http://perl.org.il/mailman/listinfo/perl
