Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: How to export subs in a bin/script for testing in t/00.tby bduggan (Pilgrim) |
on Feb 27, 2010 at 13:57 UTC ( [id://825669]=note: print w/replies, xml ) | Need Help?? |
Maybe not more elegant but the name "main" instead of "run" would be a more common convention. Actually google found this exact example here, putting a package name at the top, and calling
In Section
Seekers of Perl Wisdom
|
|