in reply to Re: Sorting big text lists
in thread Sorting big text lists
foreach ( @lines ) { my @cells = split ; push @data, \@cells ; }
I wouldn't exactly be showing this to a newbie. As the original poster pointed out, he has "never even programmed", I have been using perl for about two years, and I still have some problems with references..
maybe building a hash with original lines as keys and specific column as values would be easier to understand (but maybe harder on the memory, depends on how big is the list.) don't you agree?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Sorting big text lists
by DamnDirtyApe (Curate) on Jul 31, 2002 at 15:16 UTC |