DBIx::Class::CDBICompat::ColumnsAsHash - Emulates the behavior of Class::DBI where the object can be accessed as a hash of columns.
See DBIx::Class::CDBICompat for directions for use.
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};
If DBIC_CDBICOMPAT_HASH_WARN is true it will warn when a column is accessed as a hash key.
DBIC_CDBICOMPAT_HASH_WARN
To install DBIx::Class, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Class
CPAN shell
perl -MCPAN -e shell install DBIx::Class
For more information on module installation, please visit the detailed CPAN module installation guide.