DOKK / manpages / debian 13 / libextutils-builder-perl / ExtUtils::Builder::Action::Command.3pm.en
ExtUtils::Builder::Action::Command(3pm) User Contributed Perl Documentation ExtUtils::Builder::Action::Command(3pm)

ExtUtils::Builder::Action::Command - An action object for external commands

version 0.017

 my @cmd = qw/echo Hello World!/;
 my $action = ExtUtils::Builder::Action::Command->new(command => \@cmd);
 $action->execute;
 say "Executed: ", join ' ', @{$_} for $action->to_command;

This is a primitive action object wrapping an external command. The easiest way to use it is to serialize it to command, though it doesn't mind being executed right away. For more information on actions, see ExtUtils::Builder::Action.

This is the command that should be run, represented as an array ref.

Leon Timmermans <fawaka@gmail.com>

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.

2025-04-12 perl v5.40.1