12 Oct 2014 14:03:21 UTC
- Distribution: File-Corresponding
- Module version: 0.004
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (12 / 760 / 0)
- KwaliteeBus factor: 1
- 95.69% Coverage
- License: perl_5
- Activity24 month
- Download (16.92KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionJOHANL Johan Lindström
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.
Module Install Instructions
To install File::Corresponding, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install File::Corresponding
For more information on module installation, please visit the detailed CPAN module installation guide.