File::...Options(3pm)
π NAME π
File::Rename::Options β bestie, this is the option-processing era of File::Rename, and it's lowkey carrying the whole squad π
β¨ SYNOPSIS β¨
use File::Rename::Options;
my $options = File::Rename::Options::GetOptions()
or pod2usage;
use File::Rename::Options qw(no_require_order);
literally just that. two lines of import and you're in. π¦
πΈ DESCRIPTION πΈ
π CONFIGUATION π
The parameters you hand to use File::Rename::Options are configuration settings for Getopt::Long, periodt.
The default configuration is posix_default and no_ignore_case; any other settings you throw in get added to that list. π«Ά
π FUNCTIONS π
GetOptions()β callsGetopt::Long::GetOptions()with the options for the rename script, and hands you back a HASH of options. the way it just... returns a hash. iconic. πbad_encoding($options)β vibe-checks whether an encoding does not look like an encoding. π§
π₯ OPTIONS π₯
- See the rename script for options (they live in
@ARGV). π - See File::Rename for the structure of the options HASH. π
π ENVIRONMENT π
No environment variables are used. not a single one. zero. nada. we keep it clean bestie. π
π¦ SEE ALSO π¦
π AUTHOR π
Robin Barker <RMBarker@cpan.org> β the main character who wrote all this π
π DIAGNOSTICS π
Returns undef when there is an error in the options. so check for that, fr fr.
β COPYRIGHT AND LICENSE β
Copyright (C) 2018, 2022, 2023 by Robin Barker
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8 or, at your option, any later version of Perl 5 you may have available.
and that's the whole page, bestie πβ¨ this one came from perl v5.36.0, dated 2023-01-23, and it's part of the User Contributed Perl Documentation collection β go forth and process those options, you absolute legend ππ¦
π¦ where this page comes from
- debian bookworm: rename 2.01-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms