Pathologically Eclectic Rubbish Lister | |
PerlMonks |
Re: A Question on Regexby Utilitarian (Vicar) |
on Sep 07, 2011 at 10:26 UTC ( [id://924579]=note: print w/replies, xml ) | Need Help?? |
not sure if this is what you require, it depends on all statements ending in a semi-colon.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|