Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

ARGV and online Perl commands

by juliosergio (Acolyte)
on Jan 10, 2013 at 19:25 UTC ( #1012717=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       $ perl -e "print @ARGV;" ONE- TWO-
       ONE-TWO-$
    
  2. or download this
       $ perl -e "print $ARGV[1];" ONE- TWO-
       ARRAY(0x92007ec)$
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1012717]
Approved by toolic
Front-paged by SuicideJunkie
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2015-03-02 02:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When putting a smiley right before a closing parenthesis, do you:









    Results (23 votes), past polls