Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by grinder (Bishop)
on Oct 15, 2001 at 13:31 UTC ( #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
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? | Other CB clients
Other Users?
Others examining the Monastery: (6)
As of 2014-09-17 07:06 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (62 votes), past polls