One thing I just started working with is the anonymous
subroutine as in

$stringmuncher = sub {
....
};
        It lets one execute the same code multiple times from
other code in the same scope without having to define and then
pass values to lots of different variables. As long as one
understands the risk, it is a nice feature.

Martin McCormick

-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to