Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

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

by hbm (Hermit)
on Aug 10, 2012 at 16:41 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://986771]
help
Chatterbox?
and the web crawler heard nothing...

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

    No recent polls found