in reply to using a sub routing as an argument
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
|
|---|