Keep It Simple, Stupid | |
PerlMonks |
Re: perl string extractby Utilitarian (Vicar) |
on Oct 04, 2010 at 13:54 UTC ( [id://863346]=note: print w/replies, xml ) | Need Help?? |
Anchor your regex eg.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|