Subject: | PAM.pm: use POSIX: surpress import() |
POSIX exports some 500 functions to the caller. Since PAM.pm uses none
of them, supressing implicit import() call makes some sense.
--- Authen-PAM-0.16/PAM.pm.in- 2005-05-04 13:43:30 +0400
+++ Authen-PAM-0.16/PAM.pm.in 2005-06-30 09:50:47 +0400
@@ -5,7 +5,7 @@ use strict;
#no strict "subs";
use Carp;
-use POSIX;
+use POSIX ();
use vars qw($VERSION @ISA %EXPORT_TAGS $AUTOLOAD);
#use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS $AUTOLOAD);
--- Authen-PAM-0.16/test.pl- 2005-06-30 09:41:30 +0400
+++ Authen-PAM-0.16/test.pl 2005-06-30 09:51:05 +0400
@@ -10,7 +10,7 @@ END { print "not ok 1\n" unless $loaded;
use strict;
use vars qw($loaded $fd_status);
-use POSIX;
+use POSIX qw(ttyname);
use Authen::PAM; # qw(:functions :constants);
$loaded = 1;
End of patch
--
Alexey Tourbin
ALT Linux Team