The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bat::Interpreter::Role::Executor

VERSION

version 0.025

DESCRIPTION

Role for executing the commands in the bat files. With this role you can just print the commands that are going to be executed (dry run), or maybe in another machine (via SSH, RPC, or whatever).

See Bat::Interpreter::Delegate::Executor::DryRunner or Bat::Interpreter::Delegate::Executor::PartialDryRunner for an example of implementation

NAME

Bat::Interpreter::Role::Executor - Role for executing the commands in the bat files

METHODS

execute_for_command

Execute commands for use in FOR expressions. This is usually used to capture output and implement some logic inside the bat/cmd file.

execute_command

Execute general commands

AUTHOR

Pablo Rodríguez González <pablo.rodriguez.gonzalez@gmail.com>

COPYRIGHT AND LICENSE

This software is Copyright (c) 2022 by Pablo Rodríguez González.

This is free software, licensed under:

  The MIT (X11) License