Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re^3: Simple Perl file rename

by toolic (Bishop)
on Jul 28, 2008 at 18:31 UTC ( [id://700613]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    use strict;
    use warnings;
    ...
        print "ARGV[$i] = $_\n";
        $i++;
    }
    
  2. or download this
    These are the 4 arguments:
    ARGV[0] = s/foo/bar/
    ARGV[1] = file1.txt
    ARGV[2] = file2.txt
    ARGV[3] = file3.txt
    
  3. or download this
    use strict;
    use warnings;
    use Data::Dumper;
    print Dumper(\@ARGV);
    
  4. or download this
    $VAR1 = [
              's/foo/bar/',
    ...
              'file2.txt',
              'file3.txt'
            ];
    
  5. or download this
    use strict;
    use warnings;
    ...
        print "ARGV[$i] = $_\n";
        $i++;
    }
    
  6. or download this
    These are the 3 arguments:
    ARGV[0] = file1.txt
    ARGV[1] = file2.txt
    ARGV[2] = file3.txt
    

Log In?
Username:
Password:

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

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

    No recent polls found