The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

DBIx::BlackBox::Procedure - role consumed by procedure classes.

ROLE PARAMETERS

    package MyDBBB::Procedure::ListCatalogs;

    with 'DBIx::BlackBox::Procedure' => {
        name => 'DB_Live..list_catalogs',
        resultsets => [qw(
            MyDBBB::ResultSet::Catalogs
            MyDBBB::ResultSet::CatalogData
        )],
    };

name

Name of the stored procedure.

Required.

isa: Str.

resultsets

Names of the resultsets classes (will be automatically loaded).

isa: ArrayRef.

METHODS

resultsets

Returns a list of resultset classes registered with role.

exec

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.

AUTHOR

Alex J. G. Burzyński, <ajgb at cpan.org>

LICENSE AND COPYRIGHT

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.