FileHash::Name - A Hash of file data keyed by the file's name.
use FileHash::Name; $obj = FileHash::Name->alloc;
This is a container for lists of file name entries. It modifies the definition of hash to to be the file name portion of the absolute path. For instance:
would be hashed as foo.jpg so that all instances of that name will be added to the same bucket.
Other than the hash key definition, it inherits its behavior from FileHash::Base.
use FileHash::Content; my $a = FileHash::Name->alloc; $a->initFromTree ("/root");
Allocate an empty instance of FileHash::Name.
Create an appropriate hash key. If needed values are undef, it will generate a name of "" for the key.
Dale Amon <firstname.lastname@example.org>