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-admin
perl-win32-admin
Re: PERL Script Debugging
by Bill Luebkert other posts by this author
Apr 8 2009 10:36PM messages near this date
view in the new Beta List Site
PERL Script Debugging | getting user attributes in perl
Tim Moor wrote:
>  Hi all, I have a question that I need your worldly assistance with. 
>  
>  We have an automated process here that does an automatic data upload to 
>  a web site using LWP::UserAgent & HTTP::Request::Common. My question is 
>  related to an entry in the log file upon the scripts failure. 
>  
>  (FATAL: line 265): Invalid response from service: 
>  HTTP::Response=HASH(0x1905524)->error_as_HTML
>  
>  Line 265 = $log->logdie("Invalid response from service: 
>  $LWPResponse->error_as_HTML");
>  
>  I was wondering if anyone out there would be able to assist me with some 
>  debugging around this error. I know this is a bit of a newbie question 
>  and if this is the wrong forum, sorry. 
>  
>  Any help to resolve this would be hugely appreciated. 

It's the lines just prior to 265 that would be useful.  Obviously an
error occurred - you could try dumping the response with Data::Dumper-> Dump.
It's always better if possible to work from a small complete failing
script, so if you can strip it down and reproduce the problem - post
the complete snippet.
_______________________________________________
Perl-Win32-Admin mailing list
Perl-Win32-Admin@[...].com
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Thread:
Tim Moor
Bill Luebkert

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