[Pkg-shadow-devel] [Git][debian/adduser][master] use require instead of use, to allow running without perl-modules

Marc Haber (@zugschlus) gitlab at salsa.debian.org
Fri Mar 28 06:33:53 GMT 2025



Marc Haber pushed to branch master at Debian / adduser


Commits:
2ad38508 by Marc Haber at 2025-03-28T07:33:03+01:00
use require instead of use, to allow running without perl-modules

Thanks: Samuel Thibault
Closes: #1101454

- - - - -


1 changed file:

- deluser


Changes:

=====================================
deluser
=====================================
@@ -45,13 +45,13 @@ my $install_more_packages;
 BEGIN {
     local $ENV{PERL_DL_NONLAZY}=1;
     eval {
-        use File::Find;
+        require File::Find;
     };
     if ($@) {
       $install_more_packages = 1;
     }
     eval {
-        use File::Temp;
+       require File::Temp;
     };
     if ($@) {
         $install_more_packages = 1;



View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/2ad38508b5be9c3c505322b6306ada76616f32f6

-- 
View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/2ad38508b5be9c3c505322b6306ada76616f32f6
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20250328/dc0560a8/attachment.htm>


More information about the Pkg-shadow-devel mailing list