SPUG: getting a list of directories

Tim Rosmus trosmus at nwnexus.net
Thu Jan 20 19:57:35 CST 2000


On Thu, 20 Jan 2000, Scott Blachowicz wrote:

|# On Thu, Jan 20, 2000 at 04:04:41PM -0800, Todd Wells wrote:
|# > Thanks for all your suggestions -- I opted for Tim's one-liner :-)
|# 
|# And...if you need to traverse down the directory tree and find all
|# subdirs, the File::Find module is the way to go...
|# 

And if your understand find options but are not well versed in the
use of File::Find, just use "find2perl" with normal 'find' options
and it will generate the perl code for you.
-- 
                Tim Rosmus <trosmus at nwnexus.net>
                   Postmaster / USENET / DNS
                    WinStar Northwest Nexus




 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    POST TO: spug-list at pm.org        PROBLEMS: owner-spug-list at pm.org
 Seattle Perl Users Group (SPUG) Home Page: http://www.halcyon.com/spug/
 SUBSCRIBE/UNSUBSCRIBE: Replace ACTION below by subscribe or unsubscribe
        Email to majordomo at pm.org: ACTION spug-list your_address





More information about the spug-list mailing list