in reply to RE: RE: Sorting search results in PERL
in thread Sorting search results in PERL

just to add abit to learned brother jcrewn's comments, look at the following code:

jptxs:/home/jptxs $ vi sortExample use strict; while (my @sorted = <DATA>) { print sort @sorted; } __END__ camel llama cheeta owl ant butterfly jptxs:/home/jptxs $ perl sortExample ant butterfly camel cheeta llama owl
Notice I didn't even have to include any arguements to sort alphabetically. Something to chew on as you work through this one : )

-- I'm a solipsist, and so is everyone else. (think about it)