Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine
 
PerlMonks  

Re: Searching directories for HTML title tags

by jorg (Friar)
on Jun 19, 2001 at 20:15 UTC ( #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
    Node Status?
    node history
    Node Type: note [id://89689]
    help
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others meditating upon the Monastery: (4)
    As of 2021-04-21 17:13 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?

      No recent polls found

      Notices?