From: Graham Barr Date: Tue, 18 Feb 1997 07:48:40 +0000 (+0000) Subject: prototype error in File::stat X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=14d597e277445d4fc3a245595c3609ec0c11a887;p=p5sagit%2Fp5-mst-13.2.git 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> --- diff --git a/lib/File/stat.pm b/lib/File/stat.pm index 581fbf3..014af60 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;