diff options
author | Nicholas Clark <nick@ccl4.org> | 2009-04-12 12:47:27 +0100 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2009-04-12 12:47:27 +0100 |
commit | 8e5dadda1c1c201168c358a10e1073814c1cae6b (patch) | |
tree | 49b880dc3085e66f68715bcd827d4c4483c38255 /ext/B/t/deparse.t | |
parent | cee202b7bebc105308f54a045a45bd424f971fde (diff) | |
download | perl-8e5dadda1c1c201168c358a10e1073814c1cae6b.tar.gz |
Deprecate use of the attribute :locked on subroutines.
Diffstat (limited to 'ext/B/t/deparse.t')
-rw-r--r-- | ext/B/t/deparse.t | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/ext/B/t/deparse.t b/ext/B/t/deparse.t index 2f0f436677..4024c0b8b7 100644 --- a/ext/B/t/deparse.t +++ b/ext/B/t/deparse.t @@ -215,12 +215,8 @@ $test /= 2 if ++$test; } #### # 8 -{ - my $test = sub : locked method { - my $x; - } - ; -} +# Was sub : locked method { ... } +# This number could be re-used. #### # 9 { |