Re: Subroutine problem

2004-06-07 Thread Kee Hinckley
At 3:19 PM -0700 6/7/04, Nate Smith wrote: [$ sub month_cal $] [- my ($y, $m) = @_; my @months = qw('' January February March April May June July August September October November December); This declares a local variable for the scope of the [- [

Subroutine problem

2004-06-07 Thread Nate Smith
I've read through the docs and the archive to no avail.. I'm creating a calendar with some functions like this: sub get_week{ local ($y, $m, $d) = @_; local %week = (); # HoH's for our week local $dotw = Day_of_Week($y, $m, $d); local ($monday_y, $monday_m, $monday_d) = Add_Delta_