Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re: Re: Sorting Array in Place

by dbp (Pilgrim)
on Nov 26, 2002 at 00:22 UTC ( #215763=note: print w/ replies, xml ) Need Help??


in reply to Re: Sorting Array in Place
in thread Sorting Array in Place

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.


Comment on Re: Re: Sorting Array in Place

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://215763]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2014-09-17 02:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (56 votes), past polls