Elive
view release on metacpan or search on metacpan
lib/Elive/DAO.pm view on Meta::CPAN
use warnings; use strict;
use Mouse;
use Mouse::Util::TypeConstraints;
our $VERSION = '1.37';
use parent 'Elive::DAO::_Base';
use YAML::Syck;
use Scalar::Util qw{weaken};
use Carp;
use Try::Tiny;
use URI;
use Elive::Util qw{1.37};
__PACKAGE__->mk_classdata('_entities' => {});
__PACKAGE__->mk_classdata('_aliases');
__PACKAGE__->mk_classdata('_derivable' => {});
__PACKAGE__->mk_classdata('_entity_name');
lib/Elive/DAO.pm view on Meta::CPAN
%{$cached} = %{$struct};
$struct = $cached;
}
else {
$cache_access = 'init';
}
# rewrite, for benefit of 5.13.3
weaken ($Stored_Objects{$obj_url} = $struct);
if ($struct->debug >= 5) {
warn YAML::Syck::Dump({opt => \%opt, struct => $struct, class => ref($struct), url => $obj_url, cache => $cache_access, ref1 => "$struct", ref2 => "$Stored_Objects{$obj_url}"});
}
}
$struct->connection( $connection );
}
if ($struct->can('_db_data')) {
( run in 0.507 second using v1.01-cache-2.11-cpan-65fba6d93b7 )