NAME

FILSYSAPI - File system API


GENERAL DESCRIPTION

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.


SUBROUTINES

List of files and/or directories for a single directory

my @arr = subdirfilList_singledir("c:/foobar")

my @arr = subdirList_singledir("c:/foobar")

my @arr = filList_singledir("c:/foobar")

Hash of files and/or directories starting from

my %hsh = filsdirsHash_startingfrom("c:/foobar")

my %hsh = dirsHash_startingfrom("c:/foobar")

my %hsh = filsHash_startingfrom("c:/foobar")


TODO


BUGS

None i have found yet, though they certainly exist ;-)


AUTHOR

Eric Matthews webmaster@anglesanddangles.com


VERSION

Version 0.90 15 feb 2004