|
|
| Do you know where your variables are? | |
| PerlMonks |
Re: Re: Sorting Array in Placeby dbp (Pilgrim) |
| on Nov 26, 2002 at 00:22 UTC ( #215763=note: print w/ replies, xml ) | Need Help?? |
|
Well, I'm toying with the idea of a module that provides a sort_inplace function which acts a lot like sort but takes array references as a sort of stop-gap solution. Is there any way to get $a and $b to represent the first two values of @_ as in sort? See my scratchpad for some code and a more detailed description.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||