Zing::Class - Base Class
Abstract Base Class
use Zing::Class; my $class = Zing::Class->new; # $class->throw;
This package provides an abstract base class for Zing classes.
This package uses type constraints from:
Zing::Types
This package implements the following methods:
throw(Any @args) : Error
The throw method throws a Zing::Error exception.
# given: synopsis $class->throw(message => 'Oops');
try(Str $method, Any @args) : InstanceOf["Data::Object::Try"]
The try method returns a tryable object based on the method and arguments provided.
# given: synopsis $class->try('throw', message => 'Oops');
Al Newkirk, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2011-2019, Al Newkirk, et al.
This is free software; you can redistribute it and/or modify it under the terms of the The Apache License, Version 2.0, as elucidated in the "license file".
Wiki
Project
Initiatives
Milestones
Contributing
Issues
To install Zing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Zing
CPAN shell
perl -MCPAN -e shell install Zing
For more information on module installation, please visit the detailed CPAN module installation guide.