Beefy Boxes and Bandwidth Generously Provided by pair Networks
laziness, impatience, and hubris
 
PerlMonks  

Re: Re: Simple bubble sort

by blakem (Monsignor)
on Sep 20, 2001 at 09:22 UTC ( [id://113533]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    @$array[$i,$i+1] = @$array[$i+1,$i];
    
  2. or download this
    #!/usr/bin/perl -wT
    use strict;
    ...
    =output
    Before: A B C D
    After : A C B D
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others learning in the Monastery: (5)
As of 2024-04-24 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found