ExtUti...r::Opts(3pm)
π NAME π
ExtUtils::ModuleMaker::Opts β bestie, this is the lil module that handles all your command-line option processing for modulemaker. It lives in the Perl docs (section 3pm, she's a Perl module, not a command, okay?) β¨
π¦ SYNOPSIS π¦
use ExtUtils::ModuleMaker::Opts;
$eumm_package = q{ExtUtils::ModuleMaker};
$eumm_script = q{modulemaker};
$opt = ExtUtils::ModuleMaker::Opts->new(
$eumm_package,
$eumm_script,
);
$mod = ExtUtils::ModuleMaker::Interactive->new(
$opt->get_standard_options()
);
πΈ DESCRIPTION πΈ
okay so listen π
the methods in this package are literally here to provide processing of command-line options for modulemaker β that's the command-line utility that comes with the Perl extension ExtUtils::ModuleMaker β and also for similar utilities that are associated with Perl extensions which subclass ExtUtils::ModuleMaker. That's the whole vibe. She's the options girlie. She handles the flags so you don't have to. no cap π
π METHODS π
β¨ new() β¨
- Usage β
$opt = ExtUtils::ModuleMaker::Opts->new($package,$script)called from inside a command-line utility such asmodulemaker - Purpose β creates an ExtUtils::ModuleMaker::Opts object, iconic behaviour honestly
- Returns β an
ExtUtils::ModuleMaker::Optsobject π«Ά - Argument β two arguments, and yes you need both of them:
- A string holding
'ExtUtils::ModuleMaker'or a package subclassed therefrom, e.g.'ExtUtils::ModuleMaker::PBP'. - A string holding
'modulemaker'or the name of a command-line utility similar to'modulemaker'and found in the'scripts/'directory of the distribution named in argument 1.
- A string holding
β¨ get_standard_options() β¨
- Usage β
%standard_options = $opt->get_standard_optionscalled from inside a command-line utility such asmodulemaker - Purpose β provides arguments to
ExtUtils::ModuleMaker::Interactive::new()or to the constructor of the'Interactive'package of a distribution subclassing ExtUtils::ModuleMaker. she's feeding the constructor, that's her whole job π - Returns β a hash suitable for passing to
ExtUtils::ModuleMaker::Interactive::new()or a similar constructor β¨ - Argument β n/a (she takes nothing, she just gives π)
π SEE ALSO π
ExtUtils::ModuleMakermodulemakerExtUtils::ModuleMaker::InteractiveExtUtils::ModuleMaker::PBPmmkrpbp
go read those, bestie, iykyk π
perl v5.36.0 Β· 2023-01-27 β that's the version and the date this page got its lil glow-up, mwah π bye bestie, go make some modules π§ββοΈβ¨πΈ
π¦ where this page comes from
- debian bookworm: libextutils-modulemaker-perl 0.63-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- debian trixie: libextutils-modulemaker-perl 0.63-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu noble: libextutils-modulemaker-perl 0.63-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libextutils-modulemaker-perl 0.63-3 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libextutils-modulemaker-perl 0.63-3 Β· 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