Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Re: Re: Re: Module questions

by Anonymous Monk
on Apr 05, 2001 at 14:52 UTC ( [id://70048]=note: print w/replies, xml ) Need Help??


in reply to Re: Re: Module questions
in thread Module questions

I tried not including CGI::Cookie and only haveing use CGI.

Unforunately this did not work.

It seems you have to include both.

Replies are listed 'Best First'.
Re: Re: Re: Re: Module questions
by runrig (Abbot) on Apr 05, 2001 at 21:57 UTC
    That does not seem correct, I ran this:
    #!/usr/bin/perl -l -w use strict; use CGI qw(:all); print for keys %INC; my $c = cookie('bob'); print "--------"; print for keys %INC;
    And got these results:
    $ ./tst | grep "^[C-]" Carp.pm CGI/Util.pm CGI.pm -------- Carp.pm CGI/Util.pm CGI/Cookie.pm CGI.pm
    So using just 'CGI' SHOULD work and load the CGI::Cookie module when you call the cookie function.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (6)
As of 2024-04-25 08:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found