print "<table>\n"; print for map sprintf( "<tr><td>%d</td><td>%s</td></tr>\n", @$_ ), sort { $a->[ 0 ] <=> $b->[ 0 ] } map { chomp; [ split /\|/ ] } <DATA>; print "</table>\n";
the lowliest monk
In reply to Re: How can I sort this data on the first field
by tlm
in thread How can I sort this data on the first field
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |