$/ = "<sep>\n"; while ( <DATA> ) { chomp; print "$_\n" for sort { $a <=> $b } split /\n/; print $/ if ! eof DATA; }
Cheers - L~R
In reply to Re: sorting inside specific
by Limbic~Region
in thread sorting inside specific
by texuser74
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |