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 reply to Re: using a sub routing as an argument
by data64
in thread using a sub routing as an argument
by gitarwmn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |