|
|
| go ahead... be a heretic | |
| PerlMonks |
Re^2: regex search and replace issueby Utilitarian (Priest) |
| on Nov 11, 2011 at 08:57 UTC ( #937551=note: print w/ replies, xml ) | Need Help?? |
|
Or by using the case insensitivity modifier to the regex.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||