David Gilden wrote:
> ($sec, $min, $hour, $wday, $month, $year) = (localtime)[0..5];

The slice is not needed;

        ($sec, $min, $hour, $wday, $month, $year) = localtime;

is fine. (Extra elements in a list assignment are ignored.)
 
> 3:  $month++; # perl counts from -1 on occasion

I think you refer to the idea that months are numbered starting w/
zero, which is well documented.

HTH,
Christian

__________________________________________________________________
117 NW 15th Street # S107                            [EMAIL PROTECTED]
Gainesville, FL  32603-1973                         (352) 392-0851

Reply via email to