From 244ad8fc7e090884b3fc7fda2d7036d7f756c40b Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 19 Dec 2010 11:37:41 -0600 Subject: compile fix --- 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 e891dd1..159c0d6 100644 --- a/lib/KiokuDB/Serializer/Crypt.pm +++ b/lib/KiokuDB/Serializer/Crypt.pm @@ -40,6 +40,7 @@ has crypt_key => ( is => 'ro', isa => 'Str', default => sub { + my $self = shift; confess "The 'crypt_key' attribute for " . blessed($self) . " is required if the 'crypt' attribute is not given"; }, -- cgit v1.2.3