]> git.vpit.fr Git - perl/modules/Lexical-Types.git/commitdiff
Make sure import and unimport don't return anything
authorVincent Pit <perl@profvince.com>
Mon, 9 Nov 2015 12:48:29 +0000 (10:48 -0200)
committerVincent Pit <perl@profvince.com>
Mon, 9 Nov 2015 12:48:29 +0000 (10:48 -0200)
lib/Lexical/Types.pm

index 531e0e82cf5c219e914564ca6c03d88b470ea9bf..aa3f0135adda4c850285f0269308149f8751ab74 100644 (file)
@@ -165,6 +165,8 @@ sub import {
 
  $^H |= 0x020000;
  $^H{+(__PACKAGE__)} = $hint;
+
+ return;
 }
 
 =head2 C<unimport>
@@ -179,6 +181,8 @@ Turns the pragma off.
 sub unimport {
  $^H |= 0x020000;
  $^H{+(__PACKAGE__)} = undef;
+
+ return;
 }
 
 =head1 RUN-TIME INITIALIZER METHOD