diff options
author | Francois Pons <fpons@mandriva.com> | 1999-11-09 14:42:05 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 1999-11-09 14:42:05 +0000 |
commit | c3b5ff8158ed25327e34de957573b8c17b80b0eb (patch) | |
tree | 6fb3b61db8333f7a621bb38d4bd3daf02accc88f /perl-install/common.pm | |
parent | 5442399c701c34ef4803f46ab756c89a0e1618e5 (diff) | |
download | drakx-backup-do-not-use-c3b5ff8158ed25327e34de957573b8c17b80b0eb.tar drakx-backup-do-not-use-c3b5ff8158ed25327e34de957573b8c17b80b0eb.tar.gz drakx-backup-do-not-use-c3b5ff8158ed25327e34de957573b8c17b80b0eb.tar.bz2 drakx-backup-do-not-use-c3b5ff8158ed25327e34de957573b8c17b80b0eb.tar.xz drakx-backup-do-not-use-c3b5ff8158ed25327e34de957573b8c17b80b0eb.zip |
*** empty log message ***
Diffstat (limited to 'perl-install/common.pm')
-rw-r--r-- | perl-install/common.pm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/common.pm b/perl-install/common.pm index 31caedba1..4a15ebef9 100644 --- a/perl-install/common.pm +++ b/perl-install/common.pm @@ -205,7 +205,10 @@ sub all { local *F; opendir F, $d or die "all: can't open dir $d: $!\n"; - grep { $_ ne '.' && $_ ne '..' } readdir F; + my @l = grep { $_ ne '.' && $_ ne '..' } readdir F; + closedir F; + + @l; } sub glob_ { |