Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re^2: sorting a list according to numeric values using the function splice()

by changma_ha (Sexton)
on Aug 09, 2010 at 10:49 UTC ( [id://853776]=note: print w/replies, xml ) Need Help??


in reply to Re: sorting a list according to numeric values using the function splice()
in thread sorting a list according to numeric values using the function splice()

Actually i am a newbie in perl so practicing some of the exercises from a book. That is why i am a bit confuse because i could do sorting easily with sort(), they ask to do with the splice(), Is it possible to do with it?

  • Comment on Re^2: sorting a list according to numeric values using the function splice()

Replies are listed 'Best First'.
Re^3: sorting a list according to numeric values using the function splice()
by MidLifeXis (Monsignor) on Aug 09, 2010 at 16:27 UTC

    So the book is asking you to implement various sorting algorithms in perl, and to not use the built-in sort function. That makes a little more sense, if nothing else than to show why most of the time you will want to use the built-in version of sort.

    --MidLifeXis

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others sharing their wisdom with the Monastery: (3)
As of 2024-04-19 20:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found