ExtUti...unction(3pm)

✨ NAME ✨

okay so bestie, welcome to the ExtUtils::Builder::Action::Function(3pm) page from the User Contributed Perl Documentation 🫢. This is an action class β€” ExtUtils::Builder::Action::Function β€” for perl function calls. It’s giving very specific, very useful main character energy πŸ’…βœ¨.

πŸ’– VERSION πŸ’–

version 0.020 β€” periodt, that’s the version πŸŽ€.

πŸ¦‹ SYNOPSIS πŸ¦‹

here’s the demo, literally:

        my $action = ExtUtils::Builder::Action::Function->new(
            module    => 'Frob',
            function  => 'nicate',
            arguments => [ target => 'bar' ],
        );
        $action->execute();
        say "Executed: ", join ' ', @$_, target => 'bar' for $action->to_command;

🌸 DESCRIPTION 🌸

This Action class is a specialization of Action::Perl that makes the common case of calling a simple function easier 🧚. The first statement in the synopsis is roughly equivalent to:

        my $action = ExtUtils::Builder::Action::Code->new(
            code       => 'Frob::nicate(target => 'bar')',
            module     => ['Frob'],
            message    => 'Calling Frob::nicate',
        );

Except that it serializes more cleanly ✨.

πŸ¦‹ ATTRIBUTES πŸ¦‹

πŸ“ arguments

These are additional arguments to the action, that are passed on regardless of how the action is run. This attribute is optional β€” no cap, it’s optional πŸ’–.

🌼 module

The module to be loaded.

πŸ’œ function

The name of the function to be called.

⭐ exports

If always, the function is assumed to be exported by the module. If explicit, it’s assumed to need explicit exporting (e.g. use Module 'function';).

πŸ‘‘ AUTHOR πŸ‘‘

Leon Timmermans <fawaka@gmail.com> β€” yes bestie, that’s the author 🌈.

This software is copyright (c) 2013 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.


mwah πŸ’‹ β€” page source: perl v5.40.1, dated 2026-02-23 πŸŽ€βœ¨

πŸ“¦ where this page comes from