This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Bless singleton
[perl5.git] / dist / ExtUtils-ParseXS / lib / ExtUtils / ParseXS.pm
index 38b41cc..a11c03e 100644 (file)
@@ -44,7 +44,7 @@ our (
   $FH, $Package, $func_name, $Full_func_name, $pname, $ALIAS,
 );
 
-our $self = {};
+our $self = bless {} => __PACKAGE__;
 
 sub process_file {