Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Searching directories for HTML title tags

by jorg (Friar)
on Jun 19, 2001 at 20:15 UTC ( [id://89689]=note: print w/replies, xml ) Need Help??


in reply to Searching directories for HTML title tags

To set you on your way :
  • Use File::Find to recurse through subdirectories, the module docs provide very clear examples on its simple usage. You will have access to each file in the directory, match on .html or .htm to get only the files you want.
  • To get to the title tag you might be able to use HTML::Parser

    enjoy!

    Update : bah bikenomad is clearly psychic as he posted exactly the same suggestions.... we are actually the same person, i'm Dr. Jekyll

    Jorg

    "Do or do not, there is no try" -- Yoda
    • Comment on Re: Searching directories for HTML title tags
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Domain Nodelet?
    Node Status?
    node history
    Node Type: note [id://89689]
    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-18 04:37 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found