summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-06-24 03:07:54 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-06-24 03:07:54 +0000
commit0e051d6bdfed909406b94fc24753cffed9e3d988 (patch)
tree840c944c98f77a2eeb875f48ed76a623d23c2803
parentf1387719c66d49522b38f85cae0c68334115d46b (diff)
downloadperl-0e051d6bdfed909406b94fc24753cffed9e3d988.tar.gz
perl 5.003: lib/Symbol.pm
Do Perl version check at compile time, so that user gets a clear error message instead of syntax errors during compilation
-rw-r--r--lib/Symbol.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Symbol.pm b/lib/Symbol.pm
index c266d64373..67808af082 100644
--- a/lib/Symbol.pm
+++ b/lib/Symbol.pm
@@ -46,7 +46,7 @@ which are qualified by their nature.
=cut
-require 5.002;
+BEGIN { require 5.002; }
require Exporter;
@ISA = qw(Exporter);