Valiant::Util - Importable utility methods;
use Valiant::Util 'throw_exception'; throw_exception 'MissingMethod' => (object=>$self, method=>'if');
Just a place to stick various utility functions that are cross cutting concerns.
This package has the following subroutines for EXPORT
debug $level, 'message';
Send debuggin info to STDERR if $level is greater or equal to the current log level (default log level is '0' or 'no logging').
throw_exception 'MissingMethod' => (object=>$self, method=>'if');
Used to encapsulate exception types. Maybe someday we can do continuations instead :)
Valiant
See Valiant
To install Valiant, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Valiant
CPAN shell
perl -MCPAN -e shell install Valiant
For more information on module installation, please visit the detailed CPAN module installation guide.