Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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


Comment on Re^2: Bash for loop variable pass equivalent in perl
Select or Download Code

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 cooling their heels in the Monastery: (9)
As of 2014-09-16 07:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite cookbook is:










    Results (157 votes), past polls