DBIx::Class::CDBICompat::ColumnsAsHash(3pm)

DBIx::Class::CDBICompat::ColumnsAsHash3pm

Emulates the behavior of class::dbi where the object can be accessed as a hash of columns.

Usage

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

Overview

Emulates the undocumented 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 = $result->{column};

Differences from Class::DBI

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

Further questions?

Check the list of additional DBIC resources.

Releases

8 releases since Debian 6.0 (Squeeze); the text changed 6 times.

  1. 6.0
  2. 7
  3. 8
  4. 9
  5. 10–11
  6. 12
  7. 13

From libdbix-class-perl 0.082844-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.