in reply to Re: perl -pl with next?
in thread perl -pl with next?

Or maybe you can try a $_="" (untested, just a thought).

Due to the presence of the -l flag, that will still print a newline. The -n solution works fine though.

Hugo

Replies are listed 'Best First'.
Re^3: perl -pl with next?
by deibyz (Hermit) on Jan 27, 2005 at 09:30 UTC
    Good catch++

    Too early here in Spain to notice a little -l :( .

    I think I need more coffee.