|
|
| more useful options | |
| PerlMonks |
Re: Date Handling in Perlby Utilitarian (Priest) |
| on Jul 11, 2012 at 14:42 UTC ( #981133=note: print w/ replies, xml ) | Need Help?? |
|
perldoc -f localtime - For all your basic time manipulation needs.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||