-
-
08 Mar 2019 03:07:13 UTC
- Distribution: Beam-Runner
- Module version: 0.016
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues (6)
- Testers (528 / 16 / 4)
- Kwalitee
Bus factor: 1- 95.11% Coverage
- License: perl_5
- Perl: v5.10.0
- Activity
24 month- Tools
- Download (35.79KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
NAME
Beam::Runner::Util - Utilities for Beam::Runner command classes
VERSION
version 0.016
SYNOPSIS
use Beam::Runner::Util qw( find_container_path ); my $path = find_container_path( $container_name );
DESCRIPTION
This module has some shared utility functions for creating Beam::Runner::Command classes.
SUBROUTINES
find_containers
my %container = find_containers();
Returns a list of
name
andpath
pairs pointing to all the containers in theBEAM_PATH
paths.find_container_path
my $path = find_container_path( $container_name );
Find the path to the given container. If the given container is already an absolute path, it is simply returned. Otherwise, the container is searched for in the directories defined by the
BEAM_PATH
environment variable.If the container cannot be found, throws an exception with a user-friendly error message.
SEE ALSO
AUTHOR
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2016 by Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Beam::Runner, copy and paste the appropriate command in to your terminal.
cpanm Beam::Runner
perl -MCPAN -e shell install Beam::Runner
For more information on module installation, please visit the detailed CPAN module installation guide.