HackaMol::Roles::ExeRole -
version 0.018
This role adds executables/commands for running external programs. This is still a work in progress, and it will probably change (suggestions and help very much welcome!). The goal is to reduce the amount code required for building interfaces to external programs to be run on inputs to generate output in some directory that may be temporary... or not. Of course, exes do all sorts of things where other files may be written. Requirements (e.g. a method that tests functionality) for interfaces are still under development. Considering the trickiness of this sort of abstraction, it will cowardly left to the extensions to figure out. Recommendation: Capture::Tiny
return 1 if exe exists, carp warning and return 0 if exe does not exist
isa Str that is rw
to be constructed from exe, exe_endops, in_fn, out_fn, etc. Then run and captured, which is left to scripts/interfaces
the program to be run. $self->command($self->exe . " < " . $self->in_fn . " > " . $self->out_fn);
options to be catenated to the end of the exe. For those command line tools that use options after input filename
Demian Riccardi <demianriccardi@gmail.com>
This software is copyright (c) 2015 by Demian Riccardi.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
To install HackaMol, copy and paste the appropriate command in to your terminal.
cpanm
cpanm HackaMol
CPAN shell
perl -MCPAN -e shell install HackaMol
For more information on module installation, please visit the detailed CPAN module installation guide.