FILSYSAPI - File system API
This module provides a simple api for various file system operations, like reading directories and subdirectories and returning a list of files and or subdirectories in either array or hash format. Below are some high level bullets describing functionality.
i decided to put this together as i typically end up writing this code in my various scripts and realized this would be a nice candidate for reuse.
my @arr = subdirfilList_singledir("c:/foobar")
my @arr = subdirList_singledir("c:/foobar")
my @arr = filList_singledir("c:/foobar")
my %hsh = filsdirsHash_startingfrom("c:/foobar")
my %hsh = dirsHash_startingfrom("c:/foobar")
my %hsh = filsHash_startingfrom("c:/foobar")
None i have found yet, though they certainly exist ;-)
Eric Matthews [email protected]
Version 0.90 15 feb 2004