remove unneeded utf8 declarations
[gitmo/MooseX-Storage.git] / lib / MooseX / Storage / Util.pm
index 20da8db..91ad692 100644 (file)
@@ -2,7 +2,6 @@ package MooseX::Storage::Util;
 use Moose qw(confess blessed);
 
 use MooseX::Storage::Engine ();
-use utf8 ();
 
 sub peek {
     my ($class, $data, %options) = @_;
@@ -27,7 +26,7 @@ sub peek {
 }
 
 sub _inflate_json {
-    my ($class, $json) = @_;
+    my ($self, $json) = @_;
 
     eval { require JSON::Any; JSON::Any->import };
     confess "Could not load JSON module because : $@" if $@;
@@ -43,7 +42,7 @@ sub _inflate_json {
 }
 
 sub _inflate_yaml {
-    my ($class, $yaml) = @_;
+    my ($self, $yaml) = @_;
 
     require Best;
     eval { Best->import([[ qw[YAML::Syck YAML] ]]) };