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
commit091ef8de0851d6a8a9b2b6cb4722647f554f4bcc (patch)
tree0907398c5b498b05a847dff300d5ce6a65592ac2 /lib
parent895e4738916b83b1e3af49693698ed7f9afb46b1 (diff)
downloadperl-091ef8de0851d6a8a9b2b6cb4722647f554f4bcc.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