drewboy has asked for the wisdom of the Perl Monks concerning the following question:
I have one search script (written in perl) that's designed to search only one database:
open (DB, "<database.db")
However, now I'm spidering websites and assigns one database for each site (all in .txt format) (i.e. cnn.txt, aol.txt, mtv.txt, yahoo.txt) All files are saved in a folder called "searchdbs". I wonder if it would be possible for my script to just look into the searchdbs folder and open each database inside of it rather than tweaking my script each time I spider a new website. Looking forward to your help... Thanks as always...:-)
Back to
Seekers of Perl Wisdom