diff options
author | Graham Barr <Graham.Barr@tiuk.ti.com> | 1997-02-18 07:48:40 +0000 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-02-22 04:41:00 +1200 |
commit | 14d597e277445d4fc3a245595c3609ec0c11a887 (patch) | |
tree | e09be04b5793c495e38de4a28b56431bd5e2e9d3 /lib/File | |
parent | 7fddd24899f5f922c59212b9c61b9d6d2860e8fc (diff) | |
download | perl-14d597e277445d4fc3a245595c3609ec0c11a887.tar.gz |
prototype error in File::stat
The prototype for lstat in File::stat is wrong. It stats that is expects
a GLOB. It should be expecting a scalar, the same as File::stat::stat.
p5p-msgid: <199702180748.HAA14151@ultra-boy>
Diffstat (limited to 'lib/File')
-rw-r--r-- | lib/File/stat.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/File/stat.pm b/lib/File/stat.pm index 581fbf3214..014af60c5b 100644 --- a/lib/File/stat.pm +++ b/lib/File/stat.pm @@ -34,7 +34,7 @@ sub populate (@) { return $stob; } -sub lstat (*) { populate(CORE::lstat(shift)) } +sub lstat ($) { populate(CORE::lstat(shift)) } sub stat ($) { my $arg = shift; |