]> git.vpit.fr Git - perl/modules/with.git/blobdiff - lib/with.pm
This is 0.03
[perl/modules/with.git] / lib / with.pm
index 77bd5b967b97a365c49a00ea923097cfd534a4d9..cbc8f3df3c69d23abacd6c332f44666bed3cd582 100644 (file)
@@ -18,11 +18,11 @@ with - Lexically call methods with a default object.
 
 =head1 VERSION
 
-Version 0.02
+Version 0.03
 
 =cut
 
-our $VERSION = '0.02';
+our $VERSION = '0.03';
 
 =head1 WARNING
 
@@ -299,7 +299,7 @@ sub import {
               : exists $core{$1} ? corewrap $1, $2
                                  : subwrap $1, $2, prototype($caller.'::'.$1)
    /sexg;
-  s/\Q$;\E(\C{4})\Q$;\E/${$components[unpack('N',$1)]}/g;
+  s/\Q$;\E([\x00-\xff]{4})\Q$;\E/${$components[unpack('N',$1)]}/g;
   $_ .= $lastline if defined $lastline;
   return $count;
  }