in reply to CGI Post query

You haven't imported the header subroutine. You should either do use CGI qw(header); ( or use CGI qw(:standard) if you intend to use other functions from the module.) Or you can specify the full package name of the subroutine - i.e. print CGI::header();

/J\

Replies are listed 'Best First'.
Re^2: CGI Post query
by ant (Scribe) on Jul 05, 2006 at 09:02 UTC
    Hi,
    I was just trying to keep the code to a minimum however just to add a little more code, at the top of the program was
    use CGI qw(:standard); use CGI::Carp qw(fatalsToBrowser);
    Cheers.