[RFC] Text::Echelon v0.01

Steve Rushe steve-pmbelfast at blackstar.co.uk
Mon Dec 17 09:42:27 CST 2001


On Mon, Dec 17, 2001 at 03:18:52PM +0000, Scott McWhirter wrote:
> >@wordlist = <DATA>;
> my @wordlist = map { chomp; } <DATA>;
> unless you're gaining <DATA> from somewhere other than a file.

I think you'll find that you'll get a list containing the number of
characters chomped off each entry in <DATA>.

The chomp pod says chomp "returns the total number of characters removed
from all its arguments".

Steve

-- 
Steve Rushe - www.deeden.co.uk

Infamy, infamy, they've all got it in for me!
                                Julius Caesar - Carry on Cleo



More information about the Belfast-pm mailing list