Permalink
Browse files

make immutable

  • Loading branch information...
1 parent fefd181 commit 86fedcf24fdbde9fc92493efa7d4a964f2db9a44 @acme committed Jul 10, 2009
Showing with 3 additions and 1 deletion.
  1. +3 −1 lib/Net/Cassandra.pm
View
@@ -15,6 +15,8 @@ has 'client' => (
lazy_build => 1
);
+__PACKAGE__->meta->make_immutable;
+
sub _build_client {
my $self = shift;
@@ -32,4 +34,4 @@ sub _build_client {
return $client;
}
-1;
+1;

0 comments on commit 86fedcf

Please sign in to comment.