diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-12-04 09:53:55 -0800 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-12-04 10:51:22 -0800 |
commit | 90b58ec9e4b2574a8f7f11a0215f42453cfbc0a1 (patch) | |
tree | 060d70e0675340b11c84a2743634ec97e14bfa6b /t/lib/warnings/9uninit | |
parent | 668a86254af1576eb43991facafcf3693c919b3f (diff) | |
download | perl-90b58ec9e4b2574a8f7f11a0215f42453cfbc0a1.tar.gz |
Deprecate lexical $_
See tickets #114020 and #75598 for why.
The changes to tests in cpan/Text-Tabs have been submitted upstream
at rt.cpan.org #81698.
Diffstat (limited to 't/lib/warnings/9uninit')
-rw-r--r-- | t/lib/warnings/9uninit | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/t/lib/warnings/9uninit b/t/lib/warnings/9uninit index 2877f14394..c34c22fce6 100644 --- a/t/lib/warnings/9uninit +++ b/t/lib/warnings/9uninit @@ -820,6 +820,7 @@ undef $g1; $m1 = '$g1'; $foo =~ s//$m1/ee; EXPECT +Use of my $_ is deprecated at - line 16. Use of uninitialized value $_ in pattern match (m//) at - line 5. Use of uninitialized value $m1 in regexp compilation at - line 6. Use of uninitialized value $_ in pattern match (m//) at - line 6. |