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.