Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Win7, ASSOCiation , and @ARGV

by ww (Archbishop)
on Mar 14, 2012 at 02:26 UTC ( [id://959491]=perlquestion: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    C:\>YA_ARGV_test.pl foo bar baz
    
    
    
    
    C:\>
    
  2. or download this
    C:\>perl YA_ARGV_test.pl foo bar baz
    foo
    bar
    ...
    baz
    
    C:\>
    
  3. or download this
    #!/usr/bin/perl
    use 5.014;
    use feature qw(say);
    ...
    for $_ (@arr) {
        say $_;
    }
    
  4. or download this
    C:\>perl -e "use 5.014; for $_ (@ARGV) { say $_; }" foo bar baz
    foo
    bar
    baz
    
    C:\>
    
  5. or download this
    C:>assoc .pl
    .pl=Perl
    
    C:\>ftype perl
    perl="C:\Perl\bin\perl.exe" "%1" %*
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (7)
As of 2024-04-18 12:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found