in reply to The Chomp Idea.

You can use chomp as chomp $scalar or chomp @array. If any of its arguments end with $/ (the input record separator; usually "\n") it will chomp off that part. It returns the total number of characters that it removes (from all of its arguments.)

-sauoq
"My two cents aren't worth a dime.";

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.