Come for the quick hacks, stay for the epiphanies. | |
PerlMonks |
Re: Converting localtime to SQL formatby blazar (Canon) |
on Mar 30, 2005 at 08:41 UTC ( [id://443372]=note: print w/replies, xml ) | Need Help?? |
In addition to the good answers you already got, I think it is worth reminding that most perl functions return different values according to the context. In this case it wouldn't be too hard to roll your own(TM) solution:
UPDATE: I added $M++ which was not not there as per crenz's warnings.
In Section
Seekers of Perl Wisdom
|
|