Matt S Trout > DBIx-Class-0.08100 > DBIx::Class::CDBICompat::ColumnsAsHash

Download:
DBIx-Class-0.08100.tar.gz

Annotate this POD

CPAN RT

New  15
Open  16
Stalled  12
View/Report Bugs
Source   Latest Release: DBIx-Class-0.08115

NAME ^

DBIx::Class::CDBICompat::ColumnsAsHash

SYNOPSIS ^

See DBIx::Class::CDBICompat for directions for use.

DESCRIPTION ^

Emulates the undocumnted behavior of Class::DBI where the object can be accessed as a hash of columns. This is often used as a performance hack.

    my $column = $row->{column};

Differences from Class::DBI

If DBIC_CDBICOMPAT_HASH_WARN is true it will warn when a column is accessed as a hash key.

syntax highlighting: