's criticism is correct. You should probably error out if the pad is too short to effectively cover the entire raw text. Otherwise you lose the whole benefit of having a
pad.
Almost, and maybe even more important, is that you have some Perl 4 idioms scattered throughout your script-- especially in the CGI-specific areas. Maybe you've been reading some older editions for examples of good ways to do stuff. You should definitely
to accept and parse the form data. It also makes a nice touch to use the CGI.pm to produce your HTML-- especially for making forms, since it excels at that sort of thing.