Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Trivial HTML extractor utility

by Dominus (Parson)
on Nov 22, 2007 at 06:17 UTC ( #652311=perlmeditation: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
        }
      }
    }
    
  2. or download this
      for i in `cat reddit`; do
        GET $i | grep -i title
      done
    
  3. or download this
    #!/usr/bin/perl
    
    ...
      $s =~ tr/\n/ /;
      print "$s\n";
    }
    
  4. or download this
      for i in `cat reddit`; do
        GET $i | htmlx title
      done
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://652311]
Approved by Corion
Front-paged by Corion
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2017-03-29 00:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Should Pluto Get Its Planethood Back?



    Results (343 votes). Check out past polls.