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.

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