DBIx::BlackBox::Procedure - role consumed by procedure classes.
package MyDBBB::Procedure::ListCatalogs; with 'DBIx::BlackBox::Procedure' => { name => 'DB_Live..list_catalogs', resultsets => [qw( MyDBBB::ResultSet::Catalogs MyDBBB::ResultSet::CatalogData )], };
Name of the stored procedure.
Required.
isa: Str.
Str
Names of the resultsets classes (will be automatically loaded).
isa: ArrayRef.
ArrayRef
Returns a list of resultset classes registered with role.
Executes stored procedure and returns DBIx::BlackBox::Result object.
If $ENV{DBIBB_TRACE} is true then the SQL about to be executed will be printed out to STDERR.
$ENV{DBIBB_TRACE}
STDERR
Alex J. G. Burzyński, <ajgb at cpan.org>
Copyright 2010 Alex J. G. Burzyński.
This program is free software; you can redistribute it and/or modify it under the terms of either: the GNU General Public License as published by the Free Software Foundation; or the Artistic License.
See http://dev.perl.org/licenses/ for more information.
To install DBIx::BlackBox, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::BlackBox
CPAN shell
perl -MCPAN -e shell install DBIx::BlackBox
For more information on module installation, please visit the detailed CPAN module installation guide.