Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
while (<OLD>) { my $delta_days; my ($line_year, $line_mon, $line_day) = /(\d{4})-(\d{1,2})-(\d{1,2})/; + $delta_days = Delta_Days($line_year,$line_mon,$line_day,$yearto,$month +to,$dayto); next if $delta_days > 0; print NEW $_; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Trapping Error - Delta_Days
by davidrw (Prior) on May 15, 2006 at 13:30 UTC | |
|
Re: Trapping Error - Delta_Days
by ptum (Priest) on May 15, 2006 at 13:17 UTC | |
|
Re: Trapping Error - Delta_Days
by blazar (Canon) on May 15, 2006 at 13:23 UTC |