![]() |
|
Perl-Sensitive Sunglasses | |
PerlMonks |
Re^3: How Do I Bundle Perl Modules and Their Tests Into the Same File?by ikegami (Patriarch) |
on Feb 13, 2006 at 03:13 UTC ( [id://529733]=note: print w/replies, xml ) | Need Help?? |
Before of after the =begin..=cut, it doesn't matter. When used as a module, =begin..=cut is just a comment, so it's ignored. When used as a script (to test the module), the 1; isn't needed since it's not a module.
In Section
Seekers of Perl Wisdom
|
|