Keep It Simple, Stupid | |
PerlMonks |
Re: Command lineby Utilitarian (Vicar) |
on Aug 08, 2011 at 10:14 UTC ( [id://919189]=note: print w/replies, xml ) | Need Help?? |
Welcome to the forum, please use <code> tags around your code and data as it makes it legible (You had to preview this post to send it, how did you miss that it was mangled?)
Is there a space between the two arguments on the command line? if not you would see what you have described UpdateThough escaping the quote forces this as Marshall describes below.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|