Student,
The last set of code you posted is correct and should not give a fatal error.
Add this line after your 'use CGI'
use CGI::Carp(qw/fatalsToBrowser/);
That will print the error to your browser to easily identify the problem.
In reply to Re^4: HTTP headers and redirection
by nedals
in thread HTTP headers and redirection
by student
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |