laziness, impatience, and hubris | |
PerlMonks |
Re: How to load the subs without running the scriptby repellent (Priest) |
on Aug 03, 2010 at 21:31 UTC ( [id://852754]=note: print w/replies, xml ) | Need Help?? |
Quick and dirty: modify monster.pl and wrap the entire code in a function - i.e. put it in sub run { <all code goes here> }. Then do monster.pl; Scripts as Modules makes an interesting read.
In Section
Seekers of Perl Wisdom
|
|