summaryrefslogtreecommitdiff
path: root/lib/abbrev.pl
diff options
context:
space:
mode:
authorZefram <zefram@fysh.org>2010-04-13 22:02:58 +0100
committerSteffen Mueller <smueller@cpan.org>2010-04-27 21:33:45 +0200
commit859172fe8e35383381c4d2edab5f0525b3cb42e8 (patch)
tree4dd339e730c9f769502d339d3e0fe107814acf2f /lib/abbrev.pl
parentf398020d62424dd8a766d0d9b78ced4cfea15968 (diff)
downloadperl-859172fe8e35383381c4d2edab5f0525b3cb42e8.tar.gz
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.
Diffstat (limited to 'lib/abbrev.pl')
-rw-r--r--lib/abbrev.pl1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/abbrev.pl b/lib/abbrev.pl
index cd20063f00..673783ecdf 100644
--- a/lib/abbrev.pl
+++ b/lib/abbrev.pl
@@ -22,7 +22,6 @@ sub main'abbrev {
local(*domain) = @_;
shift(@_);
@cmp = @_;
- local($[) = 0;
foreach $name (@_) {
@extra = split(//,$name);
$abbrev = shift(@extra);