summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGraham Barr <Graham.Barr@tiuk.ti.com>1997-02-18 07:48:40 +0000
committerChip Salzenberg <chip@atlantic.net>1997-02-22 04:41:00 +1200
commit14d597e277445d4fc3a245595c3609ec0c11a887 (patch)
treee09be04b5793c495e38de4a28b56431bd5e2e9d3
parent7fddd24899f5f922c59212b9c61b9d6d2860e8fc (diff)
downloadperl-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>
-rw-r--r--lib/File/stat.pm2
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;