diff options
author | Father Chrysostomos <sprout@cpan.org> | 2012-07-09 13:00:28 -0700 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2012-09-15 22:45:02 -0700 |
commit | 0039161fd1eda8af79f30af33ee5b36bababf4ac (patch) | |
tree | 26c4833713dce6ccf4f0cce15f8890655d3d5862 /t/cmd | |
parent | c8e83515878c840f01f7944ec04c1b6c525653dd (diff) | |
download | perl-0039161fd1eda8af79f30af33ee5b36bababf4ac.tar.gz |
Remove & from redef warnings for lex subs
This is just for consistency with package subs.
Diffstat (limited to 't/cmd')
-rw-r--r-- | t/cmd/lexsub.t | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/t/cmd/lexsub.t b/t/cmd/lexsub.t index ffabbd1b7a..84abff0d8f 100644 --- a/t/cmd/lexsub.t +++ b/t/cmd/lexsub.t @@ -269,7 +269,6 @@ sub make_anon_with_state_sub{ state $w; local $SIG{__WARN__} = sub { $w .= shift }; eval "#line 56 pygpyf\nsub redef {}"; -on; is $w, "Subroutine redef redefined at pygpyf line 56.\n", "sub redefinition warnings from state subs"; } |