in reply to Script using Getopt::Long running endlessly after beeing packaged by pp
Instead of large comment MAIN a sub Main
Instead of defined($type) == '0' write !defined $type or not defined $type
Instead of defined($date) == '1' write defined($date) or defined $data
So without changing too much of your program write that as
<Reveal this spoiler or all in this thread>
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Script using Getopt::Long running endlessly after beeing packaged by pp
by HJO (Acolyte) on Oct 18, 2012 at 14:52 UTC |
In Section
Seekers of Perl Wisdom