in reply to Re: File Sorting Question
in thread File Sorting Question
Update:And your map is a 'funny' way to write (thanks for pointing out another bug :-):
which DOES modify the original @array. And doesn't put the desired value into @temp ($num is the number of substitutions, which is 0 (undef) or 1).for (@array) { my $num = s/^The //; push @temp, $num; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: File Sorting Question
by tye (Sage) on Jun 19, 2001 at 10:46 UTC |