Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: Bash for loop variable pass equivalent in perl

by hbm (Hermit)
on Aug 10, 2012 at 16:41 UTC ( #986771=note: print w/replies, xml ) Need Help??


in reply to Re: Bash for loop variable pass equivalent in perl
in thread Bash for loop variable pass equivalent in perl

Cool. I've always done the longer:

perl -lne 'print' Overlap.txt

Update: And even shorter (and more arbitrary):

perl -pe3 Overlap.txt

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2016-09-25 00:53 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Extraterrestrials haven't visited the Earth yet because:







    Results (462 votes). Check out past polls.