Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

LWP::UserAgent and HTML::Parser and the joys of Open Source

by grinder (Bishop)
on Oct 15, 2001 at 13:31 UTC ( [id://118835]=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       if($cb) {
        while ($content = &$collector, length $$content) {
    ...
          }
        }
      }
    
  2. or download this
    #! /usr/bin/perl -w
    # bloat.cgi
    ...
    print qq{<p class="foobar" align="right" name="$_">$_</p>\n} for( 1 ..
    + 10000 );
    print '</body></html>';
    __END__
    
  3. or download this
    #! /usr/bin/perl -w
    
    ...
        print "received </$element> at chunk $chunk\n";
    }
    __END__
    
  4. or download this
    127.0.0.1 - - [15/Oct/2001:10:40:14 +0200] "GET /cgi-bin/bloat.cgi HTT
    +P/1.0" 200 527879 "-" "lwp-request/1.39"
    127.0.0.1 - - [15/Oct/2001:10:40:18 +0200] "GET /cgi-bin/bloat.cgi HTT
    +P/1.0" 200 116807 "-" "libwww-perl/5.53"
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (3)
As of 2024-04-20 02:44 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found