Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Parsing HTTP...

by sundialsvc4 (Abbot)
on Jun 15, 2011 at 12:11 UTC ( #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
Node Status?
node history
Node Type: note [id://909776]
help
Chatterbox?
erix joining the EU after all

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (5)
As of 2017-10-17 10:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My fridge is mostly full of:

















    Results (225 votes). Check out past polls.

    Notices?