From a9d87c10509f73a9fe4d330a80417585d98177c1 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Tue, 21 Dec 2010 15:19:15 -0600 Subject: needs to be lazy --- lib/KiokuDB/Serializer/Crypt.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/KiokuDB/Serializer/Crypt.pm b/lib/KiokuDB/Serializer/Crypt.pm index 67e4c07..0d3566d 100644 --- a/lib/KiokuDB/Serializer/Crypt.pm +++ b/lib/KiokuDB/Serializer/Crypt.pm @@ -43,6 +43,7 @@ C in L. has crypt_key => ( is => 'ro', isa => 'Str', + lazy => 1, default => sub { my $self = shift; confess "The 'crypt_key' attribute for " . blessed($self) -- cgit v1.2.3