pietyc has asked for the wisdom of the Perl Monks concerning the following question:
charles/2004_ruc2> ./date_calc_test.pl syntax error at ./date_calc_test.pl line 5, near "$days " Execution of + ./date_calc_test.pl aborted due to compilation errors.
#!/usr/bin/perl use Date::Calc qw(:all) $days = Date_to_Days($year,$month,$day); ($year,$month,$day) = Add_Delta_Days(1,1,1, $days - 1); print "$days\n";
edited: Tue Mar 9 16:52:22 2004 by jeffa - code tags, formatting
janitored by ybiC: Retitle from "Date:Calc". One-word titles are bad, very bad.</rainman>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Date:Calc
by jrsmith (Pilgrim) on Mar 09, 2004 at 14:50 UTC | |
|
Re: Date:Calc
by dragonchild (Archbishop) on Mar 09, 2004 at 14:51 UTC | |
by pietyc (Initiate) on Mar 09, 2004 at 15:15 UTC | |
|
Re: Date:Calc
by Prior Nacre V (Hermit) on Mar 09, 2004 at 15:26 UTC | |
by jeffa (Bishop) on Mar 09, 2004 at 15:41 UTC | |
by pietyc (Initiate) on Mar 10, 2004 at 21:03 UTC |