ExtUti...::Basic(3pm)
π NAME π
ExtUtils::Typemaps::Basic β bestie, it's a whole set of typemaps for the simple types π
(oh and hi, this is a 3pm page from the User Contributed Perl Documentation section, so you know it's the real deal β¨)
πΈ SYNOPSIS πΈ
use ExtUtils::Typemaps::Basic;
# First, read my own type maps:
my $private_map = ExtUtils::Typemaps->new(file => 'my.map');
# Then, get additional typemaps and merge them into mine
$private_map->merge(typemap => ExtUtils::Typemaps::Basic->new);
# Now, write the combined map to an output file
$private_map->write(file => 'typemap');
Like, look at that little workflow go π it's giving organized. You read your own maps, you merge in the extra ones, you write the combined map out. Iconic behavior only π
π¦ DESCRIPTION π¦
Okay so ExtUtils::Typemaps::Basic is literally an ExtUtils::Typemaps subclass, no cap. What it does is hand you a set of mappings for some basic integer, unsigned, and floating point types β the ones that, lowkey, are not in perl's builtin typemap. So it's the filler for the gaps, and it ate π₯
β¨ METHODS β¨
These are the overridden methods, bestie β there's just the one, and it's a bop:
π new
Creates a new ExtUtils::Typemaps::Basic object. It acts as any other ExtUtils::Typemaps object, except that it has the object maps initialized. Like, same energy as always, but the maps are already loaded and ready to go π
π SEE ALSO π
ExtUtils::TypemapsExtUtils::Typemaps::Default
(the whole friend group, fr fr π«Ά)
π AUTHOR π
Steffen Mueller <smueller@cpan.org> π
π COPYRIGHT AND LICENSE π
Copyright 2010, 2011, 2012, 2013 by Steffen Mueller
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Fr fr, same terms as Perl itself β read the license before you redistribute, bestie, it's not a vibe suggestion π€
and that's the whole page, mwah π go forth and typemap π
perl v5.36.0 Β· 2022-10-21 Β· ExtUti...::Basic(3pm) β signed, sealed, delivered, and yes the header line was right there the whole time πβ¨
π¦ where this page comes from
- ubuntu noble: libextutils-typemaps-default-perl 1.05-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu resolute: libextutils-typemaps-default-perl 1.05-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- ubuntu stonking: libextutils-typemaps-default-perl 1.05-5 Β· Artistic-1.0-Perl OR GPL-1.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms