in reply to perl programs from the command line in the manner of sed?

You should check perldoc perlrun, in particular you're likely to be interested in -n, -p, or the "chomping versions" -ln, -lp, possibly with inline modifying, -i and/or with changing the input record separator...

As for PM's Super Search, try with "oneliners" et similia, although the results won't be focused on conversions from sed, they're likely to solve tasks similar to the ones you're interested in.

Replies are listed 'Best First'.
Re^2: perl programs from the command line in the manner of sed?
by OfficeLinebacker (Chaplain) on Apr 21, 2006 at 18:21 UTC
    Does your name rhyme with "Quasar" or "blazer?"

    Ok, so I see the search term I should be focusing on is oneliner and its derivatives...thanks!

    Also, s2p exists on my system! (seems relatively rare comapared to some of the other suggestions I've gotten, mostly re: modules). Time to "man up" on that!

    Thanks for treating a newbie so kindly.