in reply to Scripts with only sub-routines?

run it in the debugger to see how and what it calls:
perl -d script.pl
See debugger.perl.org for more informartion on the debugger.