|
|
|
Your skill will accomplish what the force of many cannot |
|
| PerlMonks |
Re: How to output backtick or qx to a variable and STDOUT at the same time?by Utilitarian (Priest) |
| on Nov 20, 2012 at 08:39 UTC ( #1004674=note: print w/ replies, xml ) | Need Help?? |
|
What I suspect your tutor wants you to prove you understand is that assignment returns the value assigned on success.
print "Good ",qw(night morning afternoon evening)[(localtime)[2]/6]," fellow monks."
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||