Bat::Interpreter::Delegate::Executor::System
version 0.025
use Bat::Interpreter; use Bat::Interpreter::Delegate::Executor::System; my $system_executor = Bat::Interpreter::Delegate::Executor::System->new; my $interpreter = Bat::Interpreter->new(executor => $system_executor); $interpreter->run('my.cmd');
Every command gets through system. So if you are in Linux using bash, bash will try to execute the command.
This executor is as dumb and simple as it can, be cautious.
Bat::Interpreter::Delegate::Executor::PartialDryRunner - Executor for executing commands via perl system
Execute general commands.
This executor use perl system
Execute commands for use in FOR expressions. This is usually used to capture output and implement some logic inside the bat/cmd file.
This executor executes this commands via perl subshell: ``
Pablo Rodríguez González <pablo.rodriguez.gonzalez@gmail.com>
This software is Copyright (c) 2022 by Pablo Rodríguez González.
This is free software, licensed under:
The MIT (X11) License
To install Bat::Interpreter, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bat::Interpreter
CPAN shell
perl -MCPAN -e shell install Bat::Interpreter
For more information on module installation, please visit the detailed CPAN module installation guide.