Venus::Role::Unacceptable - Unacceptable Role
Unacceptable Role for Perl 5
package ExampleAccept; use Venus::Class 'attr'; attr 'name'; package ExampleDeny; use Venus::Class 'attr', 'with'; with 'Venus::Role::Unacceptable'; attr 'name'; package main; my $example = ExampleDeny->new(name => 'example', test => 12345); # Exception! (isa Venus::Role::Unacceptable::Error)
This package provides a mechanism for raising an exception when unexpected constructor arguments are encountered.
Awncorp, awncorp@cpan.org
awncorp@cpan.org
Copyright (C) 2000, Awncorp, awncorp@cpan.org.
This program is free software, you can redistribute it and/or modify it under the terms of the Apache license version 2.0.
To install Venus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Venus
CPAN shell
perl -MCPAN -e shell install Venus
For more information on module installation, please visit the detailed CPAN module installation guide.