Beefy Boxes and Bandwidth Generously Provided by pair Networks Russ
Clear questions and runnable code
get the best and fastest answer
 
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 lurking in the Monastery: (5)
As of 2014-04-23 23:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    April first is:







    Results (557 votes), past polls