Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re^2: print the array using command line arguements

by reneeb (Chaplain)
on Nov 30, 2006 at 08:00 UTC ( [id://586893]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    use strict;
    use warnings;
    
    print "@ARGV\n";
    
  2. or download this
    ~/entwicklung 14> perl argv.pl  1
    1
    (reneeb) Thu Nov 30 09:05:18 [-bash]
    ...
    (reneeb) Thu Nov 30 09:06:10 [-bash]
    ~/entwicklung 17> ./argv.pl 1 3
    1 3
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2024-04-24 17:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found