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

Re: problem parsing html

by spx2 (Deacon)
on Jul 15, 2009 at 15:12 UTC ( [id://780354]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      1  #!/usr/local/bin/perl
      2  use strict;
    ...
     13  my @chains = map { $_->attr('href') =~ /chain=(\w)/ } @chain_tags
    +;
     14  say " Number of chains : " . scalar @chains;
     15  say @chains;
    
  2. or download this
     
    Number of chains : 11
    AABCEFHIJKL
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (3)
As of 2024-04-26 00:03 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found