projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
f138771
)
perl 5.003: lib/Symbol.pm
Perl 5 Porters [Mon, 24 Jun 1996 03:07:54 +0000 (
03:07
+0000)]
Do Perl version check at compile time, so that user gets a
clear error message instead of syntax errors during compilation
lib/Symbol.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Symbol.pm
b/lib/Symbol.pm
index
c266d64
..
67808af
100644
(file)
--- 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);