Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re^2: print the array using command line arguements

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


in reply to Re: print the array using command line arguements
in thread print the array using command line arguements

nope

#!/usr/bin/perl use strict; use warnings; print "@ARGV\n";


Output:
~/entwicklung 14> perl argv.pl 1 1 (reneeb) Thu Nov 30 09:05:18 [-bash] ~/entwicklung 15> perl argv.pl 1 3 1 3 (reneeb) Thu Nov 30 09:06:06 [-bash] ~/entwicklung 16> ./argv.pl 1 1 (reneeb) Thu Nov 30 09:06:10 [-bash] ~/entwicklung 17> ./argv.pl 1 3 1 3
Edit: This is an answer to Fengor, not lidden


Comment on Re^2: print the array using command line arguements
Select or Download Code

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (6)
As of 2015-07-05 23:32 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 (68 votes), past polls