From: Matt S Trout Date: Mon, 18 Jan 2010 19:28:07 +0000 (+0000) Subject: make Data::Perl::Stream::Array immutable X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=4b4cd5bdd9ad50c2f50e49cd3ff8e83dd19771db;p=dbsrgits%2FDBIx-Data-Store-old.git make Data::Perl::Stream::Array immutable --- diff --git a/lib/Data/Perl/Stream/Array.pm b/lib/Data/Perl/Stream/Array.pm index f9fcea2..7c0cd09 100644 --- a/lib/Data/Perl/Stream/Array.pm +++ b/lib/Data/Perl/Stream/Array.pm @@ -15,4 +15,6 @@ method next { return shift @$ary; } +__PACKAGE__->meta->make_immutable; + 1;