in reply to Re: Comparison result capture???
in thread Comparison result capture???
You're using $_ too many times.my $x; ($x = $a_parts[$_] <=> $b_parts[$_]) && return $x for 0 .. $#a_parts;
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
Please remember that I'm crufty and crochety. All opinions are purely mine and all code is untested, unless otherwise specified.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Re: Comparison result capture???
by chip (Curate) on May 14, 2003 at 20:44 UTC |