Bubblegum::Exception - General Purpose Exception Class for Bubblegum
version 0.45
Bubblegum::Exception->throw('oh nooo!!!');
Bubblegum::Exception provides a general purpose exception object to be thrown and caught and rethrow. Bubblegum::Exception extends Throwable::Error, please review its documentation for addition usage information. Note: This is an early release available for testing and feedback and as such is subject to change.
try { Bubblegum::Exception->throw( message => 'you broke something', ); } catch ($exception) { if (Bubblegum::Exception->caught($exception)) { # you belong to me $exception->rethrow; } };
Al Newkirk <anewkirk@ana.io>
This software is copyright (c) 2013 by Al Newkirk.
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 Bubblegum, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bubblegum
CPAN shell
perl -MCPAN -e shell install Bubblegum
For more information on module installation, please visit the detailed CPAN module installation guide.