ExtUtil...nputMap(3pm)
π NAME π
ExtUtils::Typemaps::InputMap β literally just one single entry in the INPUT section of a typemap, bestie. That's the whole gig. One entry. Living its little main character life. π
Oh and btw, the header up top is truncated all cute like ExtUtil...nputMap(3pm) β that's the 3pm Perl manual page for ExtUtils::Typemaps::InputMap, in case the vibe check on the title bar confused you. π
β¨ SYNOPSIS β¨
use ExtUtils::Typemaps;
...
my $input = $typemap->get_input_map('T_NV');
my $code = $input->code();
$input->code("...");
Obsessed with this flow ngl β grab the typemap, pull the input map for 'T_NV', read the code out, then set it to "...". Iconic little round trip. π¦
πΈ DESCRIPTION πΈ
Like, go read ExtUtils::Typemaps for the actual details, okay? That's where the lore lives. This page is just the entry object. π
π METHODS π
π new
Needs the "xstype" and "code" parameters. Both. Required. No skips. β¨
π code
Returns β or sets β the INPUT mapping code for this entry. So you can read it, or you can rewrite it. You have the power. π
π xstype
Returns the name of the XS type of this INPUT map. Just the name. Chill little getter. π§
π cleaned_code
Returns a cleaned-up copy of the code β a version where certain transformations have been applied to make it more ANSI compliant. Note the "copy" part: it's giving you the polished version, not messing with the original. Slay. π
π SEE ALSO π
ExtUtils::Typemapsβ go read this one, fr fr
π AUTHOR π
Steffen Mueller "<smueller@cpan.org>" β thank you for your service, king π«Ά
π COPYRIGHT & LICENSE π
Copyright 2009, 2010, 2011, 2012 Steffen Mueller
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
That means it's real, official, redistributable-able, and licensed under the same terms as Perl itself β no cap, that's what it says. π
okay that's the whole page, bestie, you ate that π β¨ and for the record this was perl v5.42.3, dated 2026-11-03, straight out of the ExtUtil...nputMap(3pm) manual β mwah, love u, go read your typemaps ππ
π
π¦ where this page comes from
- alpine 3.24: perl-doc 5.42.3-r0 Β· 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