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

(tye)Re: How do I read the files in @ARGV one by one

by tye (Sage)
on Mar 19, 2001 at 21:19 UTC ( #65462=note: print w/replies, xml ) Need Help??


in reply to Re: How do I read the files in @ARGV one by one
in thread How do I read the files in @ARGV one by one

I'd like to encourage you to check out the above advice.

Here is an alternative that I am becoming fond of:

my @data; foreach my $file (@ARGV) { push @data, substr( $file, -12, 12 ); local( *ARGV ); @ARGV= ($file); push( @data, <> ); }

        - tye (but my friends call me "Tye")

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://65462]
help
Chatterbox?
[Corion]: Ugh - the FSF wants to merge Magit into Emacs (or rewrite Magit). It seems they haven't learned from Perl+CPAN that not having things in core is good.

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (4)
As of 2017-07-21 11:29 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (321 votes). Check out past polls.