diff options
author | Zefram <zefram@fysh.org> | 2010-04-13 22:02:58 +0100 |
---|---|---|
committer | Steffen Mueller <smueller@cpan.org> | 2010-04-27 21:33:45 +0200 |
commit | 859172fe8e35383381c4d2edab5f0525b3cb42e8 (patch) | |
tree | 4dd339e730c9f769502d339d3e0fe107814acf2f /pod | |
parent | f398020d62424dd8a766d0d9b78ced4cfea15968 (diff) | |
download | perl-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 'pod')
-rw-r--r-- | pod/perlembed.pod | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pod/perlembed.pod b/pod/perlembed.pod index 5ecaed04d0..488fe1b88f 100644 --- a/pod/perlembed.pod +++ b/pod/perlembed.pod @@ -490,7 +490,7 @@ been wrapped here): SvREFCNT_dec(command); *match_list = get_av("array", 0); - num_matches = av_len(*match_list) + 1; /** assume $[ is 0 **/ + num_matches = av_len(*match_list) + 1; return num_matches; } |