This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
don't use $[ in library code
authorZefram <zefram@fysh.org>
Tue, 13 Apr 2010 21:02:58 +0000 (22:02 +0100)
committerSteffen Mueller <smueller@cpan.org>
Tue, 27 Apr 2010 19:33:45 +0000 (21:33 +0200)
commit859172fe8e35383381c4d2edab5f0525b3cb42e8
tree4dd339e730c9f769502d339d3e0fe107814acf2f
parentf398020d62424dd8a766d0d9b78ced4cfea15968
don't use $[ in library code

Remove all uses of $[, both reads and writes, from library code.
Test code (which must test behaviour of $[) is unchanged, as is the
actual implementation of $[.  Uses in CPAN libraries are also untouched:
I've opened tickets at rt.cpan.org regarding them.
15 files changed:
lib/Dumpvalue.pm
lib/abbrev.pl
lib/assert.pl
lib/bigfloat.pl
lib/bigint.pl
lib/bigrat.pl
lib/charnames.pm
lib/ctime.pl
lib/dumpvar.pl
lib/getcwd.pl
lib/getopt.pl
lib/getopts.pl
lib/stat.pl
lib/termcap.pl
pod/perlembed.pod