File::Corresponding::File::Profile - The definition of what matches and translates to corresponding files
Name/description of this file profile.
sprintf string to construct a file name. It should contain at least one % command to insert a relative file name.
Only used if defined.
Regex matching a file. The first capture parens are used to extract the local file name.
If coerced from a string, define as qr$regex, i.e. specify the delimiters and any needed flags.
Return two item list with (the base filename, the captured file name fragment) from matching $file against regex, or () if nothing matched.
The $file_base is the $file, but with the whole matching regex removed, forming the basis for looking up corresponding files.
Return a new File::Corresponding::File::Found object if a file made up of $file_base, this profile, and $fragment exists in the filesystem.
If not, return ().
Convert $rex_string to a proper Regex ref, or die with a useful error message.
To install File::Corresponding, copy and paste the appropriate command in to your terminal.
cpanm
cpanm File::Corresponding
CPAN shell
perl -MCPAN -e shell install File::Corresponding
For more information on module installation, please visit the detailed CPAN module installation guide.