summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Phoenix <rootbeer@teleport.com>1997-03-31 21:10:14 -0800
committerChip Salzenberg <chip@atlantic.net>1997-04-01 12:01:35 +1200
commit7e5dee47ee5bc43e90e14d8c27c33a42dd0a26ae (patch)
tree4bbbcaf4903614382973a34c841e649351dfc4fc
parent2d6caab3c51efbf973371684428f83cc5475c01c (diff)
downloadperl-7e5dee47ee5bc43e90e14d8c27c33a42dd0a26ae.tar.gz
Tweaks to constant.pm
I've made a couple of (trivial) changes, in this compared to what was distributed in _96. Patch available separately. Cape does not actually enable wearer to fly.
-rw-r--r--lib/constant.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/constant.pm b/lib/constant.pm
index 4416cf2ade..a0d4f9d5cd 100644
--- a/lib/constant.pm
+++ b/lib/constant.pm
@@ -80,6 +80,7 @@ B<necessarily> that value in the current implementation.
Magical values, tied values, and references can be made into
constants at compile time, allowing for way cool stuff like this.
+(These error numbers aren't totally portable, alas.)
use constant E2BIG => ($! = 7);
print E2BIG, "\n"; # something like "Arg list too long"
@@ -126,7 +127,7 @@ use vars qw($VERSION);
#=======================================================================
# Some of this stuff didn't work in version 5.003, alas.
-require 5.003_20;
+require 5.003_96;
#=======================================================================
# import() - import symbols into user's namespace