summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2010-12-19 11:37:41 -0600
committerJesse Luehrs <doy@tozt.net>2010-12-19 11:37:41 -0600
commit244ad8fc7e090884b3fc7fda2d7036d7f756c40b (patch)
treed4cc0176180ecc55b796ea9469622ce1e23367f1
parent1aa80d3d126926814534552f866b144ea06466f5 (diff)
downloadkiokudb-serializer-crypt-244ad8fc7e090884b3fc7fda2d7036d7f756c40b.tar.gz
kiokudb-serializer-crypt-244ad8fc7e090884b3fc7fda2d7036d7f756c40b.zip
compile fix
-rw-r--r--lib/KiokuDB/Serializer/Crypt.pm1
1 files changed, 1 insertions, 0 deletions
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";
},