> Hi > > 1) Please disregard my previous posting with lots of Perl and stuff: > I was falling asleep when I posted that. I'm attaching a patch for > /usr/local/lib/mc/extfs/deb (or wherever it is on your box) below. > Note that the patch has Y2K bug, which leads me to > > 2) Is there a function in Perl to convert month from 2-digit MM to > 3-letter Mon or do I have to roll my own?
How about: $Mon=(Jan,Feb,Mar,Apr,May,Jun,Jul,Aug,Sep,Oct,Nov,Dec)[$mm-1] || bad_thing; ? Alex Y. -- _ _( )_ ( (o___ | _ 7 ''' \ (") (O O) / \ \ +---------------oOO--(_)--------------------+ | \ __/ <-- | Alexander Yukhimets [EMAIL PROTECTED] | | | | http://pages.nyu.edu/~aqy6633/ | ( / +-------------------------oOO---------------+ \ / |__|__| ) /(_ || || | (___) ooO Ooo \___) -- TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to [EMAIL PROTECTED] . Trouble? e-mail to [EMAIL PROTECTED] .