In the following snippet of code I'm getting the "useless use of a private variable in a void context" error. It is at line 64 which is the closing brace for the for loop.
for ($count; $count < 7; $count++) { if ($day == '01') { if (exists($months31{$month})){ $day = 31; push @days, $day; $day--; }elsif (exists($months30{$month})){ $day = 30; push @days, $day; $day--; }else{ $day = 28; push @days, $day; $day--; } }else{ push @days, $day; $day--; } } # Line 64 All variables are declared elsewhere. The only thing I can think is happening is that a return value is being expected but isn't being provided. I can provide the entire script if needed for context. Mathew -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] http://learn.perl.org/