Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Searching directories for HTML title tags

by dimmesdale (Friar)
on Jun 19, 2001 at 20:18 UTC ( #89692=note: print w/replies, xml ) Need Help??


in reply to Searching directories for HTML title tags

Look on CPAN for the module File::Find. It can traverse the directories for you, saving yourself the code. Then you can just grep the files you find w/ this regex /html?/. If you don't want to intsall File::Find, then your best bet would be to implement a recursive subroutine that returns as a list all the file names (possibly as a hash of hashes if you want to provide more information about the files). If there's anything else, just ask.

Well, it appears that many people beat me to the question, and all offered similar advice(if not better). Oh, well.

  • 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://89692]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (3)
As of 2021-04-17 15:17 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?