ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> perl-win32-web
perl-win32-web
Re: HTTP request arguments/content
by David Landgren other posts by this author
Jan 30 2007 2:17PM messages near this date
view in the new Beta List Site
RE: HTTP request arguments/content | Re: HTTP request arguments/content
Marijn Pessers wrote:
>  Hello Bill,
> 
>  Thanks for your response, but something still is wrong.
> 
>  When I try your code (I checked and as far as I can see I adapted mine to
>  your example) I get this error message:
> 
>  Can't call method "content" on an undefined value at
>  ./neopost_fetch_machinetype_new.pl line 98, <FILEHANDLE> line 1.
> 
>    

That' s because the method request such as in


>  	my $res = $ua->request($req);
>    

failed in some way and therefor returned undef. You can't call a method 
on undef, which is what the message above is indicating.

_______________________________________________
Perl-Win32-Web mailing list
Perl-Win32-Web@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Marijn Pessers
Bill Luebkert
Marijn Pessers
David Landgren
Bill Luebkert

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved