Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Getopt::Long mystery

by Roger (Parson)
on Aug 17, 2005 at 22:18 UTC ( #484621=note: print w/ replies, xml ) Need Help??


in reply to Getopt::Long mystery

Have you declared the -t option in the first place? Perhaps changing 'test|n' to 'test|t' will do the trick? :-)

Update
Forget about what I said above. I don't think that's what you are asking about.


Comment on Re: Getopt::Long mystery
Select or Download Code
Re^2: Getopt::Long mystery
by Llew_Llaw_Gyffes (Beadle) on Aug 17, 2005 at 23:10 UTC

    Abbreviation should still work, no?  I'm using 'test|n' to make '-n' a synomym for '-t'.  An example with a more extensive set of options employed (which, perhaps, I should put in there instead as illustration) will show that not just the -t option, but ALL options, are unrecognized.

    I'll update the example.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://484621]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (7)
As of 2014-08-21 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (128 votes), past polls