Substitute for print as necessary.my $thismonth = (localtime)[4]; my $lastmonth = ($thismonth == 0)? 11 : $thismonth-1; print $monthname[$lastmonth], "\n";
HTH
In reply to Re: Month info from 'date'
by VSarkiss
in thread Month info from 'date'
by d00fuss
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |