The first thing to remove would be the CGI part. Replace the CGI with a simple script that just outputs the data. The next thing to remove would be the database query. Replace it with hardcoded values. Then remove some more subroutines that munge the data. Replace them with pre-munged data.
After some work, you'll have reduced the problem to a small problem with well-defined input and output.
In reply to Re^4: sort != sort
by Corion
in thread sort != sort
by halfcountplus
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |