> I am trying to extract last month's date from today's date as in "Jan" > or "Feb"....is there a switch to enable that ?
Assuming you actually meant "extract last month's name based on today's date": @months = qw(Jan Feb Mar Apr May Jun July Aug Sep Oct Nov Dec); print $months[(localtime)[4]-1]; perldoc -f localtime for more info -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]