File::...Options(3pm)
π File::...Options(3pm) π
okay bestie, so this is a User Contributed Perl Documentation page, and it's literally all about File::Rename::Options β the lil module that handles option processing for File::Rename. it's giving "behind the scenes queen" energy fr fr. π
β¨ NAME β¨
File::Rename::Options β the option processing situation for File::Rename π
πΈ SYNOPSIS πΈ
use File::Rename::Options;
my $options = File::Rename::Options::GetOptions()
or pod2usage;
use File::Rename::Options qw(no_require_order);
π¦ DESCRIPTION π¦
π CONFIGUATION π
(yes the original spells it like that, no I will not be fixing it, it's iconic π«Ά)
so like, the parameters you pass to use File::Rename::Options? those are configuration settings for Getopt::Long. that's the whole vibe.
the default configuration is posix_default and no_ignore_case, and any other settings you throw in just get added onto that list. slay. β¨
π FUNCTIONS π
GetOptions()β callsGetopt::Long::GetOptions()with the options for the rename script, and hands you back a HASH of options. it's giving "here's your stuff, bestie". πbad_encoding($options)β tests whether an encoding does not look like an encoding. vibe check on your encoding, basically. π
π OPTIONS π
- peep the rename script for the options themselves (they live in
@ARGV) π - peep File::Rename for the structure of the options
HASHπ¦
π ENVIRONMENT π
no environment variables are used. zero. none. not a single one. the env is unbothered, moisturized, in its lane. πββοΈ
β SEE ALSO β
π AUTHOR π
Robin Barker <RMBarker@cpan.org> β the legend, the icon, the moment. π
π₯ DIAGNOSTICS π₯
returns undef when there's an error in the options. so like, if you get undef back, that's your sign that something went wrong, bestie. π
π 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. so generous, so giving. π«Ά
okay that's the whole page!! this was perl v5.36.0, dated 2024-01-01, and it's the File::...Options(3pm) manpage β ily, go process some options, mwah πβ¨
π¦ where this page comes from
- debian trixie: rename 2.02-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: rename 2.02-1 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu questing: rename 2.02-1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms