Commits

Anonymous committed b9886d4

Made the use Socket imports explicit.

  • Participants
  • Parent commits 4d53dcf
  • Tags cpan-releases/2.66

Comments (0)

Files changed (3)

File modules/IO-Socket-INET6/Build.PL

     {
         'Test::More' => 0,
     },
+    configure_requires =>
+    {
+        'Module::Build' => '0.36',
+    },
     'license' => "perl",
     create_makefile_pl => 'traditional',
     meta_merge =>

File modules/IO-Socket-INET6/ChangeLog

+2011-01-13 Shlomi Fish <shlomif@iglu.org.il>
+	* Made the use Socket call import constants selectively, and not rely
+	on @EXPORT's whims:
+		- http://www.cpantesters.org/cpan/report/d6e547be-19b5-11e0-bbdc-e5c0d6c987b5
+	* New Release IO-Socket-INET6-2.66
+
 2010-06-11 Shlomi Fish <shlomif@iglu.org.il>
 	* Add a fix for t/io_multihomed6.t to make sure 
 	ok 3 will be printed before ok 4. due to many failures in the tests. 

File modules/IO-Socket-INET6/lib/IO/Socket/INET6.pm

 
 our(@ISA, $VERSION);
 use IO::Socket;
-use Socket;
+use Socket (qw(AF_INET6 PF_INET6));
 # IO::Socket and Socket already import stuff here - possibly AF_INET6
 # and PF_INET6 so selectively import things from Socket6.
 use Socket6 (
 );
 
 use Carp;
-use Exporter;
 use Errno;
 
 @ISA = qw(IO::Socket);
-$VERSION = "2.65";
+$VERSION = "2.66";
 #Purpose: allow protocol independent protocol and original interface.
 
 my $EINVAL = exists(&Errno::EINVAL) ? Errno::EINVAL() : 1;