Argument handling is typically handled by a module in the Getopt family. The second part of the sentence indicates that you want to check the arguments before using a module though. This is a bit harder since use statements are handle at compile time, not run time. Typically this is handled by using require in lieu of use and running the import manually. Messing with BEGIN blocks as indicated elsewhere may work, but YMMV.
In this case, your code is complaining because you have not defined the help subroutine properly (see answer above for how). Typically, you should get out of the habit of calling subroutines as &sub_name and use sub_name() instead. This is because it affects @_. If none of this makes sense to you, see perldoc perlsub and perldoc perlvar.
Cheers - L~R
In reply to Re: Trouble finding a subroutine
by Limbic~Region
in thread Trouble finding a subroutine
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |