From 091ef8de0851d6a8a9b2b6cb4722647f554f4bcc Mon Sep 17 00:00:00 2001 From: Jarkko Hietaniemi Date: Wed, 29 Nov 2000 16:36:33 +0000 Subject: 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 --- lib/File/stat.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib') 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 -- cgit v1.2.1