in reply to formatting question
Another option is:
my $doit; if ($wrongDateFlag) { $doit = 1 if scalar @ARGV >= 3; } else { # end date is correct if ($oneDayFlag == -1) { $doit = 1 if scalar @ARGV >= 3; } else { $doit = 1 if scalar @ARGV >= 2; } } if ($doit) { ... }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: formatting question
by apl (Monsignor) on Jun 24, 2008 at 17:35 UTC | |
by apl (Monsignor) on Jun 24, 2008 at 17:47 UTC | |
by pc88mxer (Vicar) on Jun 24, 2008 at 20:29 UTC |