NAME
App::Followme::EveryFile - Base class for App::Followme classes
SYNOPSIS
use App::Followme::EveryFile;
my @files;
my $ef = App::Followme::EveryFiles->new();
while (defined (my $file = $ef->next)) {
push(@files, $file)
}
DESCRIPTION
This class loops over all files in a directory and its subdirectories. It calls methods when it starts and finishes, when each folder starts and finishes, and for each file in each folder. All modules used by followme subclass this class and perform their functions by overriding these methods.
CONFIGURATION
The following fields in the configuration file are used in this class and every class based on it:
- base_directory
-
The directory the class is invoked from. This controls which files are returned. The default value is the current directory.
- web_extension
-
The extension used by web pages. This controls which files are returned. The default value is 'html'.
LICENSE
Copyright (C) Bernie Simon.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
AUTHOR
Bernie Simon <bernie.simon@gmail.com>