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; }
In reply to Re: Re: File Sorting Question
by runrig
in thread File Sorting Question
by vbrtrmn
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |