logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

File::Rename::Options - Option processing for File::Rename

Author

       Robin Barker <RMBarker@cpan.org>

Description

CONFIGUATION
       The parameters to "use File::Rename::Options" are configurations settings for Getopt::Long

       The default configuration is posix_default and no_ignore_case; other settings are added to this list.

   FUNCTIONS
       "GetOptions()"
           Call "Getopt::Long::GetOptions()" with options for rename script, returning a HASH of options.

       "bad_encoding($options)"
           Test if encoding does not look like an encoding

   OPTIONS
       See rename script for options (in @ARGV).

       See File::Rename for structure of the options HASH

Diagnostics

       Returns "undef" when there is an error in the options.

Environment

       No environment variables are used.

Name

       File::Rename::Options - Option processing for File::Rename

See Also

File::Rename(3), rename(1)

Synopsis

           use File::Rename::Options;
           my $options = File::Rename::Options::GetOptions()
               or pod2usage;

           use File::Rename::Options qw(no_require_order);

See Also