summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2000-11-29 16:36:33 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2000-11-29 16:36:33 +0000
commitee28235b3274e2a0a6e2b8de32573633563eef75 (patch)
tree0907398c5b498b05a847dff300d5ce6a65592ac2 /lib
parentaf2c551d18597cb22f61bc451518bf5505fad8bc (diff)
downloadperl-ee28235b3274e2a0a6e2b8de32573633563eef75.tar.gz
All the core library users of Class::Struct seem to be
using "use Class::Struct 'struct';" instead of the bare "use Class::Struct;", which isn't documented in Class::Struct. This can't be right. p4raw-id: //depot/perl@7925
Diffstat (limited to 'lib')
-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 be14fbcede..0cf7a0b7aa 100644
--- a/lib/File/stat.pm
+++ b/lib/File/stat.pm
@@ -20,7 +20,7 @@ use vars @EXPORT_OK;
# Class::Struct forbids use of @ISA
sub import { goto &Exporter::import }
-use Class::Struct;
+use Class::Struct qw(struct);
struct 'File::stat' => [
map { $_ => '$' } qw{
dev ino mode nlink uid gid rdev size