Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

Re: Command line

by Utilitarian (Vicar)
on Aug 08, 2011 at 10:14 UTC ( #919189=note: print w/ replies, xml ) Need Help??


in reply to Command line

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."


Comment on Re: Command line
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://919189]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2014-07-26 01:40 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (175 votes), past polls