On Thursday, April 25, 2002, at 10:41 , Bryan R Harris wrote:
you heard right: > I heard that you could find code for almost anything at CPAN. How do you > go about this? http://www.cpan.org but I have the search book marked: http://search.cpan.org/ where I rummage around for known modules... > For example, say I want to recurse through a directory and all > subdirectories creating an index text file in each directory containing a > list of the text files in that directory. Can CPAN help with that task? yes, File::Find, an illustration of it's use: http://www.wetware.com/drieux/CS/lang/Perl/Beginners/findModules.txt what you need to sort out is how to write the 'callback' function eg: sub wants { ... } to do the majik you want it to do.... ciao drieux --- -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]