Dist::...:Import(3pm)
πΈ NAME πΈ
Okay bestie, welcome to this User Contributed Perl Documentation page for Dist::...:Import(3pm) β and the actual main character is Dist::Build::XS::Import, the Dist::Build extension that imports headers for other XS modules. It's giving βglue, but make it iconicβ β¨
π VERSION π
version 0.028 β periodt, that's the version.
π SYNOPSIS π
Here's the exact spell you cast, no cap:
load_extension('Dist::Build::XS');
load_extension('Dist::Build::XS::Import');
add_xs(
module => 'Foo::Bar',
import => 'My::Dependency',
);
π¦ DESCRIPTION π¦
So this module is an extension of Dist::Build::XS β it adds an additional argument to the add_xs function, and that argument is import.
It's the counterpart to Dist::Build::XS::Export) β and that one will add the include dir, typemap and compilation flags for the given module. That's the whole vibe, bestie π
π AUTHOR π
Leon Timmermans <fawaka@gmail.com> β author icon, no cap.
π COPYRIGHT AND LICENSE π
This software is copyright (c) 2024 by Leon Timmermans.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Legal tea served, and it's free software realness π
Signing off with perl v5.40.1, dated 2026-03-21, from Dist::...:Import(3pm) β mwah πβ¨
π¦ where this page comes from
- ubuntu stonking: libdist-build-perl 0.028-1 Β· 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