in reply to Re:(4) bubble sort in perl
in thread bubble sort in perl

Broken is... wrong :)

Check out the main loop:

bubble(\@raw_data) while !isSorted(\@raw_data);
Yours IS better, though.
--
Mike