OpenInteract2::Exception::Security - Security exceptions
# Use the shortcut use OpenInteract2::Exception qw( oi_security_error ); use SPOPS::Secure qw( :level ); oi_security_error "Cannot fetch object", { security_found => SEC_LEVEL_READ, security_required => SEC_LEVEL_WRITE }; # Be explicity use OpenInteract2::Exception::Security; use SPOPS::Secure qw( :level ); OpenInteract2::Exception::Security->throw( "Cannot fetch object", { security_found => SEC_LEVEL_READ, security_required => SEC_LEVEL_WRITE } );
Custom exception for security violations.
OpenInteract2::Exception
Exception::Class
Copyright (c) 2002-2004 Chris Winters. All rights reserved.
Chris Winters <chris@cwinters.com>
To install OpenInteract2::URL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm OpenInteract2::URL
CPAN shell
perl -MCPAN -e shell install OpenInteract2::URL
For more information on module installation, please visit the detailed CPAN module installation guide.