- CONFIGURATION AND ENVIRONMENT
- BUGS AND LIMITATIONS
- LICENSE AND COPYRIGHT
File::TypeCategories - Determine if files match a specific type
This documentation refers to File::TypeCategories version 0.08
use File::TypeCategories; # Brief but working code example(s) here showing the most common usage(s) # This section will be as far as many users bother reading, so make it as # educational and exemplary as possible.
File::TypeCategories object can be used to test if files match the defined categories.
- ignore ArrayRef[Str] [ignore]
The types to ignore the default
- include ArrayRef[Str]
Match only files that match regexes in
- exclude ArrayRef[Str],
Don't match any files that match regexes in
- include_type ArrayRef[Str]
Match only files of types specified in
- exclude_type ArrayRef[Str]
Don't match files of types specified in
Allow symlinks to match
- type_suffixes HASH
The configuration of types. This defaulted from the dist share dir,
Loads the config file when new is called
Determines if a file matches the current config
types_match ($file, $type)
Checks if a file matches
There are no known bugs in this module.
Please report problems to Ivan Wills (email@example.com).
Patches are welcome.
Ivan Wills - (firstname.lastname@example.org)
Copyright (c) 2014 Ivan Wills (14 Mullion Close, Hornsby Heights, NSW Australia 2077). All rights reserved.
This module is free software; you can redistribute it and/or modify it under the same terms as Perl itself. See perlartistic. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.