Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: @ARGV being corrupted

by roju (Friar)
on Jul 22, 2004 at 14:25 UTC ( #376588=note: print w/replies, xml ) Need Help??


in reply to @ARGV being corrupted

If you use one of the Getopt modules, say Getopt::Std, does it work then? It could be a problem with your argument handling code.

In place of your current argument grokking code, try:

use Getopt::Std; my %args; getopts ('V:', \%args); print $args{'V'};
Do you get the expected results?

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (6)
As of 2023-12-11 23:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?