|Perl Monk, Perl Meditation|
How to get quick i nice date format?by uksza (Abbot)
|on Feb 08, 2006 at 10:24 UTC||Need Help??|
uksza has asked for the
wisdom of the Perl Monks concerning the following question:
I need sometimes in my litte scripts date/time in nice format. I can use (on Linux machines):
First is little and nice, but use external program.
Second pure Perl, but a little to long...
Third is almost OK, but is it good idea to use POSIX in 20 lines scripts?
In dates and times I can't found nothing else
How do you do this in your's programs?
Yes, smart people know that fat arrow autoquotes the left argument. But why should you require your code to be maintained by smart people? Randal L. Schwartz, Perl hacker