ExtUti...n::Code(3pm)

🌸 NAME 🌸

okay so bestie, this page is ExtUtils::Builder::Action::Code - Action objects for perl code. Also hi, it lives in User Contributed Perl Documentation and its manual stamp is ExtUti...n::Code(3pm) β€” slay. πŸ’…

πŸŽ€ VERSION πŸŽ€

version 0.020 β€” periodt, that's the version. ✨

✨ SYNOPSIS ✨

my $action = ExtUtils::Builder::Action::Code->new(
    code      => 'Frob::nicate(@_)',
    modules   => ['Frob'],
    message   => 'frobnicateing foo',
);
$action->execute(target => 'bar');
say "Executed: ", join ' ', @$_, target => 'bar' for $action->to_command;

πŸ’– DESCRIPTION πŸ’–

This is a primitive action object that wraps a piece of perl code. The easiest way to use it is to execute it immediately β€” no cap. For more info on using actions, see ExtUtils::Builder::Action. The core attributes are code and serialized, though only one of them must be given. Both? strongly recommended, bestie. 🌈

πŸ¦‹ ATTRIBUTES πŸ¦‹

πŸ“ code πŸ“

This is a code-ref containing the action. On execution, it gets the arguments of the execute method; when run as a command it gets @ARGV. Either way, arguments is also passed. If it’s not given, it is evaled from serialized. πŸ‘‘

🧚 modules 🧚

This is an optional list of modules that get dynamically loaded before the action is run in any way. This attribute is optional β€” it's literally optional, bestie. πŸ’œ

🌟 AUTHOR 🌟

Leon Timmermans <fawaka@gmail.com> β€” icon. 🫢

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. πŸŽ€

πŸ’Œ okay bye bestie, this page ships with perl v5.40.1, dated 2026-02-23, and its footer manual stamp is ExtUti...n::Code(3pm) β€” mwah πŸ’‹

πŸ“¦ where this page comes from