codeacrobat has asked for the wisdom of the Perl Monks concerning the following question:
SOLVED A fresh reinstall of Params::Validate solved the issue.> perl -v This is perl, v5.10.1 (*) built for i686-cygwin-thread-multi-64int (with 13 registered patches, see perl -V for more detail) # try the Getopt::Long::Descriptive Synopsis > perl synopsis.pl --help Reference found where even-sized list expected at /usr/lib/perl5/site_ +perl/5.10/Getopt/Long/Descriptive.pm line 442. Use of uninitialized value $arg{"name"} in hash element at /usr/lib/pe +rl5/site_perl/5.10/Getopt/Long/Descriptive.pm line 477. Use of uninitialized value in anonymous hash ({}) at /usr/lib/perl5/si +te_perl/5.10/Getopt/Long/Descriptive.pm line 486. Use of uninitialized value $arg{"name"} in hash element at /usr/lib/pe +rl5/site_perl/5.10/Getopt/Long/Descriptive.pm line 503. Reference found where even-sized list expected at /usr/lib/perl5/site_ +perl/5.10/ # works > env PERLDB_OPTS="NonStop=1" perl -d synopsis.pl --help my-program [-psv] [long options...] <some-arg> -s --server the server to connect to -p --port the port to connect to -v --verbose print extra stuff --help print usage message and exit
print+qq(\L@{[ref\&@]}@{['@'x7^'!#2/"!4']});
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: script fails but succeeds in debugger
by Anonyrnous Monk (Hermit) on Dec 20, 2010 at 11:21 UTC | |
by codeacrobat (Chaplain) on Dec 20, 2010 at 12:02 UTC | |
by codeacrobat (Chaplain) on Dec 20, 2010 at 11:44 UTC | |
Re: script fails but succeeds in debugger
by mr_mischief (Monsignor) on Dec 20, 2010 at 12:05 UTC | |
Re: script fails but succeeds in debugger
by Anonymous Monk on Dec 20, 2010 at 11:10 UTC | |
Re: script fails but succeeds in debugger
by codeacrobat (Chaplain) on Dec 20, 2010 at 11:39 UTC | |
by Anonymous Monk on Dec 20, 2010 at 12:00 UTC |