diff options
author | Matteo Pasotti <matteo@mageia.org> | 2012-11-07 11:24:11 +0000 |
---|---|---|
committer | Matteo Pasotti <matteo@mageia.org> | 2012-11-07 11:24:11 +0000 |
commit | 3710241ae71c43bda5281a0b118888e0ed4d526e (patch) | |
tree | 76e45cccefcfd95cad493cc3cc3152a5d13520ef | |
parent | 5a547e6b955ea5c655edb3b87b7ff7676ced36fe (diff) | |
download | colin-keep-3710241ae71c43bda5281a0b118888e0ed4d526e.tar colin-keep-3710241ae71c43bda5281a0b118888e0ed4d526e.tar.gz colin-keep-3710241ae71c43bda5281a0b118888e0ed4d526e.tar.bz2 colin-keep-3710241ae71c43bda5281a0b118888e0ed4d526e.tar.xz colin-keep-3710241ae71c43bda5281a0b118888e0ed4d526e.zip |
- using modern perl idiom
-rw-r--r-- | Auth.pm | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -19,15 +19,14 @@ package Auth; require Exporter; -@ISA = qw(Exporter); -@EXPORT = qw(require_root_capability - ask_for_authentication); - +use base qw(Exporter); use strict; use warnings; use diagnostics; use Data::Dumper; +our @EXPORT = qw(require_root_capability + ask_for_authentication); sub require_root_capability { return 0 if(!$>); |