Give your question a meaningful title!
- Use sort; you've not stated if it's a numeric grade or not.
- You want to type perldoc CGI.pm and look for table,Tr & td.
If this is homework please remember:
- use strict and -w. Comment frequently, Lecturers love that.
- Include a comment acknowledging our help, perhaps with a URL to your post.
- You'll be a better Perl Hacker if you look for answers thus:
- perldoc (for your Perl distro) & www.perldoc.com
- CPAN
- A wealth of books ;-)
- Perlmonks (Perl FAQ, the Search button (top left) and Super Search, then SOPW).
(it's a hubris thing ;^)
--
Brother Frankus.
¤