in reply to Bash for loop variable pass equivalent in perl

perl -ple1 Overlap.txt

With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.

The start of some sanity?

Replies are listed 'Best First'.
Re^2: Bash for loop variable pass equivalent in perl
by hbm (Hermit) on Aug 10, 2012 at 16:41 UTC

    Cool. I've always done the longer:

    perl -lne 'print' Overlap.txt

    Update: And even shorter (and more arbitrary):

    perl -pe3 Overlap.txt