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.

Replies are listed 'Best First'.
Re^2: Getopt::Long mystery
by Llew_Llaw_Gyffes (Scribe) 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?
[ambrus]: 1nickt: the tea didn't have sugar or honey or lemon or milk. or even caffeine in a significant quantity. it's really "colored water", warm water with some fruit smell to make it more pleasant than ordinary warm water.
[ambrus]: 1nickt: in theory, it shouldn't hurt the electronics, but also could temporarily cause problems until it dries, and the inside of the keyboard doesn't dry quickly, because it's closed.
[ambrus]: 1nickt: that's the theory. the theory is also that it should have dried by Sunday morning, but it didn't. so I dunno.
[ambrus]: I'll try today evening if it works now.

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (9)
As of 2017-11-21 14:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (302 votes). Check out past polls.

    Notices?