ExtUti...putMap(3perl)
β¨ ExtUtils::Typemaps::InputMap β¨
okay so bestie, picture this: you're deep in typemap territory, and this little cutie is one single entry in the INPUT section of a typemap. that's it. that's the whole vibe. it's a 3perl manpage, so you're in the right place if you're reading perl docs at 2am π
πΈ SYNOPSIS πΈ
use ExtUtils::Typemaps;
...
my $input = $typemap->get_input_map('T_NV');
my $code = $input->code();
$input->code("...");
like, you grab one out of the typemap, you read its code, you can even rewrite its code. iconic behaviour, no notes π
π¦ DESCRIPTION π¦
ngl there's not a ton here on purpose β refer to ExtUtils::Typemaps for details. it's giving "the real lore lives next door" π
π§ METHODS π§
π new
Requires "xstype" and "code" parameters. fr fr, you can't skip them, they're mandatory, the constructor will simply not be doing that π
π code
Returns or sets the INPUT mapping code for this entry. read it, or overwrite it, your call bestie.
β xstype
Returns the name of the XS type of the INPUT map. that's the label you're matching against, yk?
π₯ cleaned_code
Returns a cleaned-up copy of the code to which certain transformations have been applied to make it more ANSI compliant. so like, same code, but it got a glow-up so ANSI is happy with it β¨
π SEE ALSO π
ExtUtils::Typemaps
π«Ά AUTHOR π«Ά
Steffen Mueller "<smueller@cpan.org>" β shoutout, legend behaviour π
π 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.
no cap, that license line is the whole permission slip β same terms as Perl itself, periodt π
and that's the page!! this one shipped as perl v5.44.0, dated 2026-10-17, straight out of the Perl Programmers Reference Guide β catch you in the next manpage bestie π¦πΈπ
π¦ where this page comes from
- arch rolling: perl 5.44.0-1 Β· Artistic-1.0-Perl AND 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