Just another Perl shrine | |
PerlMonks |
Re: Prototype problemby kwoff (Friar) |
on Jan 01, 2002 at 00:52 UTC ( [id://135427]=note: print w/replies, xml ) | Need Help?? |
It's not a prototyping problem, it's a scope problem.
You declared:
my ($min, $hour, $day, $month, $year, $calc_year, $calc_month);
within sub in_time_date
but didn't declare the variables outside that subroutine.
In Section
Seekers of Perl Wisdom
|
|