Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: CGI Post query

by gellyfish (Monsignor)
on Jul 05, 2006 at 08:38 UTC ( #559267=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://559267]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (6)
As of 2023-12-11 10:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?