A history of Perl variables

I was curious when various Perl variables showed up, so I started diving through perlvar and perl*delta. Ignoring those that were already there in Perl 4, I have so a draft list. It's a bit dodgy because some of the variables existed before they were documented, but I'm really interested in the point where they became supported variables (so, I also don't care about blead versions):

Does anyone have any corrections or predictions for 5.14? :)

perl 5.14
-----------

???

perl 5.12.0
-----------

???

perl 5.10.0
-----------
${^PREMATCH}
${^MATCH}
${^POSTMATCH}
%+
%-
${^WIN32_SLOPPY_STAT}
${^WARNING_BITS}
${^RE_TRIE_MAXBUF}
${^RE_DEBUG_FLAGS}

Perl 5.8.9
-----------
${^CHILD_ERROR_NATIVE}
${^UTF8CACHE}

perl 5.8.8
-----------
${^UTF8LOCALE}

perl 5.8.2 ???
-----------
${^ENCODING}
${^OPEN}
${^UNICODE}

perl 5.8.0
-----------
$^N
${^TAINT}

perl 5.6
-----------
$^C
$^V
@-
@+
%^H

perl 5.005
-----------
%!
$^R

perl 5.004
-----------
$^M
$^S
$^A ???

perl 5.003
-----------
$^E
$^H
$^O

2 Comments

s/WARNINGS_BITS/WARNING_BITS/

And CHILD_ERROR_NATURE should be CHILD_ERROR_NATIVE. I suppose I could have finished reading the post before replying.

Leave a comment

About brian d foy

user-pic I'm the author of Mastering Perl, and the co-author of Learning Perl (6th Edition), Intermediate Perl, Programming Perl (4th Edition) and Effective Perl Programming (2nd Edition).