Keep It Simple, Stupid | |
PerlMonks |
Re: using a sub routing as an argumentby data64 (Chaplain) |
on Jun 23, 2004 at 00:58 UTC ( [id://368908]=note: print w/replies, xml ) | Need Help?? |
Other's have pointed out why the construct you are trying to use is not quite right. I would like to point out that for what you are trying to do (read command-line parameters) you should also consider using one of the GetOpt::* modules from cpan eg: GetOpt::Long. Just a tongue-tied, twisted, earth-bound misfit. -- Pink Floyd
In Section
Seekers of Perl Wisdom
|
|