Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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 pondering the Monastery: (16)
As of 2015-07-31 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (282 votes), past polls