in reply to
Re^2: Expanding a variable
in thread
Expanding a variable
Edited to fix, no windows sys handy, so I forgot the obvious error.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
Comment on
Re^3: Expanding a variable
Download
Code
In Section
Seekers of Perl Wisdom