FlatFile-DataStore

 view release on metacpan or  search on metacpan

lib/FlatFile/DataStore.pm  view on Meta::CPAN

to 1.

Without dirmax and dirlev, a datastore's data files (and key/toc files)
will reside in the same directory as the uri file, and the module will
not limit how many you may create (though the size of your filesystem
might).

With dirmax and dirlev, these files will reside in subdirectories.

Giving a value for dirmax will also limit the number of data files (and
key/toc files) a datastore may have, by this formula:

 max files = dirmax ** (dirlev + 1)

So dirmax=300 and dirlev=1 would result in a limit of 90,000 data
files.  If you go to dirlev=2, the limit becomes 27,000,000, which is
why you're unlikely to need a dirlev greater than 2.

=item dirlev

The dirlev parameter gives the number of levels of directories that a



( run in 0.299 second using v1.01-cache-2.11-cpan-26ccb49234f )