Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: update and still no output

by rchiav (Deacon)
on Sep 07, 2001 at 22:00 UTC ( #111044=note: print w/replies, xml ) Need Help??


in reply to update and still no output

If you're getting no output, that probably means that you don't have any data. You're on the right track by printing "Done" to see where the script is. So you know that it gets to the end..

How about @ARRAY_OF_LINES? Have you tried printing that out? It's a fairly effective technique to throw prints in your script to figure out what's going on where.

Unfortunately I can't help you more than that because, 1 - I'm not all that familiar with the LWP stuff (haven't had a need for it yet) and 2 - I can't run this code because of the address it's pulling from.

Also, I thought I'd mention that you're opening a file for output.. never writing to it and never closing it either. You sould fix that.

Rich

Replies are listed 'Best First'.
Re: Re: update and still no output
by RayRay459 (Pilgrim) on Sep 07, 2001 at 22:39 UTC
    I have the open output file #commented out because i wanted to fix the actual script first. I added a line
    print $html_code
    after the if/else statement and i am seeing the actual html code returned on my screen. something is not working right with the HTML::TableExtract stuff. Ray

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2021-09-22 21:04 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?