And for what it's worth.
113. Call subroutines with parentheses but without a leading &

That's from Damian Conway's Perl Best Practices
A quick reference to the 256 guidelines is found at
http://refcards.com/docs/vromansj/perl-best-practices/refguide.pdf

And a bit of luck, the entire chapter on subroutines, including the many 
reasons 
to prefer () to & is online:
http://www.devshed.com/c/a/Perl/Subroutines-in-Perl/


-- 
            Michael Rasmussen, Portland Oregon  
      Other Adventures: http://www.jamhome.us/ or http://westy.saunter.us/
Fortune Cookie Fortune du courrier:
The difference betwee a million and a billion is the difference between 
a sip of wine and 30 seconds with your daughter, and a bottle of gin and a 
night with her.
    ~ XKCD http://xkcd.com/558/

-- 
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