A question that might be related. If I run a CGI program using a subroutine for each page, normally variables from one subroutine/page will not be available to the other subroutines, which is the way Perl works, of course. However, if I access these variables by using something like
print somesubroutine($variable) it doesn't play nice with CGI.pm - instead of returning post data, pages after the second just print the submit button again.
(current state of the program is
lists.bilkent.edu.tr/~robin/cgibin/tester.cgi.)
Originally posted as a Categorized Answer.