Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Adding a dispatch table and getting "Variable $x will not stay shared" errors.

by Lawliet (Curate)
on Mar 03, 2009 at 01:02 UTC ( #747587=note: print w/ replies, xml ) Need Help??


in reply to Adding a dispatch table and getting "Variable $x will not stay shared" errors.

Not entirely on topic, but have you considered using one of the Getopt modules? It is usually the best way to go when dealing with command line flags. Personally, I recommend Getopt::Long.

There are sundry examples of Getopt::Long examples in The Monastery's archives. Supersearch if you need help. :)

And you didn't even know bears could type.


Comment on Re: Adding a dispatch table and getting "Variable $x will not stay shared" errors.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (8)
As of 2014-12-27 02:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (176 votes), past polls