Just another Perl shrine | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
This is a public message board, why would I send a solution to you without it being available to other monks to learn from? (and me to show off with of course)
From perldoc perlop and searching for transliteration we discover that So that may be part of your issue, or at least it will be when you remove the g modifier which makes no sense with athe tr opperator
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In reply to Re: Can any Perl Monk help me to correct the mistake in counting motifs in a string in the perl program written by me?
by Utilitarian
|
|