in reply to
SOLVED: How to load the subs without running the script
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.
Comment on
Re: How to load the subs without running the script
Select
or
Download
Code
In Section
Seekers of Perl Wisdom