in reply to Re: Re: Re: Re: Short (and clever?) CSV-to-AoA
in thread Short (and clever?) CSV-to-AoA

OK, so here's how I'd write that: {grin}
my @AoA; while (<DATA>) { my @row = split; push @{$AoA[$_]}, $row[$_] for 0..$#row; }

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: Re: Short (and clever?) CSV-to-AoA
by scott (Chaplain) on Apr 24, 2001 at 17:29 UTC

    :) OK, that's obviously a much more standard way to do it than mine... and 20% faster on the one platform I can test it on.

    Thanks.