Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Parsing HTTP...

by sundialsvc4 (Abbot)
on Jun 15, 2011 at 12:11 UTC ( [id://909776]=note: print w/replies, xml ) Need Help??


in reply to Parsing HTTP...

In a way, “Perl isn’t about Perl ... it’s about the CPAN library.”

Wanna do something?   Odds are certain that thousands of other folks want to do the same thing, and that some of them have written a good CPAN module to do it.   You can also be sure that they have talked about it extensively here, at PerlMonks.   So, whether your assigned task is “HTML Parsing” or something else, “search, and you shall find.”

Only n00b13s try to start on a task by coding it from scratch, given that hundreds of well-tested packages are available for any conceivable purpose.   That simply is not how things are done.

Replies are listed 'Best First'.
Re^2: Parsing HTTP...
by wfsp (Abbot) on Jun 15, 2011 at 15:04 UTC
    $agent->get($url); $agent->content();
    There's a very good chance the OP is using a CPAN module. Further, the question has nothing to do with parsing HTML but incomplete HTML. Finaly, the OP hasn't tried "...to code it from scratch".

    The OP asked a very good question (not, as he/she fears, in the least stupid) and made a reasonable stab at the answer. Corion has helpfully given some pointers that may likely help find a solution.

    ++ to the OP and ++ to Corion. Your contribution? I'll leave that as an exercise for the reader.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (2)
As of 2024-04-25 07:30 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found