build:...Options(3pm)

✨ NAME ✨

Wx::build::Options β€” bestie, this is the lil module that goes and retrieves your wxWidgets/wxPerl build options πŸ’–

It's a Perl thing, from the User Contributed Perl Documentation corner of the internet, and it lives in the build:...Options(3pm) part of your manual. Iconic. Let's get into it 🫢


πŸ’… METHODS πŸ’…

🌸 get_makemaker_options

my %mm_options = Wx::build::Options->get_makemaker_options;

Okay so this one hands you back the options that actually matter at wxPerl building time. That's it, that's the job ✨

And here's the shape of what you get back, exactly as written:

my %options = ( mksymlinks   => 0,
                extra_libs   => '',
                extra_cflags => '',
                subdirs      => { stc => 1,
                                  xrc => 0 } )
Heads up bestie, notice stc is chillin' at 1 and xrc is sitting at 0 in that subdirs hash β€” that's the default situation, not me being messy πŸ™ˆ

πŸŽ€ write_config_file

my $ok = Wx::build::Options->write_config_file( '/path/to/file' );

This one writes a machine-readable representation of the command-line options you gave to top-level Makefile.PL πŸ’Ύβœ¨ So like, whatever flags you threw at Makefile.PL, this method writes them down somewhere in a format machines can vibe with. Very main character of it, honestly.

You hand it a path β€” '/path/to/file' β€” and it hands you back a $ok. Slay.


🌈 A LIL SIGN-OFF 🌈

That's the whole page, bestie, no cap πŸ’œ It's short but it's everything. This gem is documented as part of perl v5.42.3, dated 2026-08-20, and it's filed under build:...Options(3pm) in the User Contributed Perl Documentation. Go build something cute with it πŸ¦‹πŸ’…

πŸ“¦ where this page comes from