in reply to The purpose of prototypes in perl subroutines
Prototyping has a use when running with the strict 'subs' pragma. While it is in effect, you will have to prototype your subs to use the bareword style when calling:
or, use the ampersand or parens:sub mysub; print mysub;
*** Special thanks to Nat Torkington. I've been reading Jon Orwant's Computer Science and Perl Programming book lately. Good information, and a good review of perl topics you may have forgotten. Pick it up if you don't have it.print mysub();
J. J. Horner CISSP,CCNA,CHSS,CHP,blah,blah,blah
In Section
Seekers of Perl Wisdom