NAME

Valiant::Util - Importable utility methods;

SYNOPSIS

    use Valiant::Util 'throw_exception';

    throw_exception 'MissingMethod' => (object=>$self, method=>'if');

DESCRIPTION

Just a place to stick various utility functions that are cross cutting concerns.

SUBROUTINES

This package has the following subroutines for EXPORT

debug

  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

    throw_exception 'MissingMethod' => (object=>$self, method=>'if');

Used to encapsulate exception types. Maybe someday we can do continuations instead :)

SEE ALSO

Valiant

AUTHOR

See Valiant

COPYRIGHT & LICENSE

See Valiant