in reply to Textview format, help please !

If you are liked printf, you'll love sprintf, returns a string formatted as specified

print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."