Module...e::Opt(3pm)

πŸ“¦
version 0.38 Β· 5 versions
, in debian trixie, ubuntu resolute, ubuntu stonking

πŸ’– Module::Compile::Opt β€” the 3pm manual, bestie edition πŸ’–

User Contributed Perl Documentation Β· section 3pm Β· perl v5.40.1 Β· 2025-03-07

okay so this is the page for Module::Compile::Opt, and honestly? it's a whole vibe. it's the little glue module that lets you hand options over to Module::Compile at runtime. tiny page, big impact. let's get into it πŸ¦‹


✨ NAME ✨

Module::Compile::Opt β€” Provide options to Module::Compile

that's it. that's the name. no cap, it does exactly what it says on the tin πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

here's the group chat screenshot of how you'd actually use it:

> export PERL5OPT=-MModule::Compile::Opt=-ext,p,pm
> perl -c lib/Foo.p
> cat lib/Foo.pm

yes bestie, you really do just yeet it into PERL5OPT like that. 🫢


🌸 DESCRIPTION 🌸

module::Compile::Opt β€” lowercase m, iconic of it β€” lets you pass runtime options to Module::Compile. it's giving backstage pass energy. 🎟️

and the tea β˜• about the default: by default, Module::Compile takes a module living in a .pm file and compiles it into a .pmc file. that's the standard behavior, that's the baseline, that's the vibe check passed.


πŸ‘‘ AUTHORS πŸ‘‘

the masterminds, the main characters, the ones who ate and left no crumbs:

  • Ingy dΓΆt Net <ingy@cpan.org> πŸ’–
  • Audrey Tang <audreyt@audreyt.org> πŸ’œ

Copyright 2006-2019. Ingy dΓΆt Net.

okay so legally speaking, and this part is for real for real, not a joke:

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

if you need the receipts, they're right here:

See <http://www.perl.com/perl/misc/Artistic.html>


and that's the whole page! compiled with love by perl v5.40.1, dated 2025-03-07, living its best life as Module...e::Opt(3pm). slay, go compile something cute πŸ’…βœ¨πŸŽ€

πŸ“¦ where this page comes from