Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What is an unblessed reference?

Status
Not open for further replies.

YellowRubberDuckie

IS-IT--Management
Jun 29, 2004
1
US
I have the following script


use LWP::UserAgent;
use CGI::Cookie;

$cookie1 = new CGI::Cookie(-name=>'JSESSIONID',-value=>'53449883E3A4A2E9322091F2b43062F5',-domain=>'$cookie2 = new CGI::Cookie(-name=>'MTVIPREG',-value=>'true',-domain=>'
my $ua = LWP::UserAgent->new(env_proxy => 1,keep_alive => 1,timeout => 30);

$ua->cookie_jar([$cookie1,$cookie2]);

$response = $ua->get('
When I run this I get the error message
"Can't call method "add_cookie_header" on unblessed reference."

What does this mean?
What am I doing wrong?

Thanks
Mitch
 
Mitch,

Read more ...

--Paul

It's important in life to always strike a happy medium, so if you see someone with a crystal ball, and a smile on their face ...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top