diff options
author | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-02 02:36:55 +0000 |
---|---|---|
committer | Gurusamy Sarathy <gsar@cpan.org> | 1999-10-02 02:36:55 +0000 |
commit | a98df9627d19bd75c4b1132fc26e037aab5a7879 (patch) | |
tree | ad4ca3828f90fa63bfe15c93c683bef7441142fa /t/lib | |
parent | 6c1372ede9e641f6d25ae7a5966416ab272c51d3 (diff) | |
download | perl-a98df9627d19bd75c4b1132fc26e037aab5a7879.tar.gz |
deprecate C<use attrs>
p4raw-id: //depot/perl@4278
Diffstat (limited to 't/lib')
-rwxr-xr-x | t/lib/thread.t | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/t/lib/thread.t b/t/lib/thread.t index 3bca8ba726..6c25407853 100755 --- a/t/lib/thread.t +++ b/t/lib/thread.t @@ -55,9 +55,7 @@ sleep 6; print "ok 12\n"; $t->join; -sub islocked -{ - use attrs 'locked'; +sub islocked : locked { my $val = shift; my $ret; print $val; @@ -74,8 +72,7 @@ $t->join->join; { package Loch::Ness; sub new { bless [], shift } - sub monster { - use attrs qw(locked method); + sub monster : locked, method { my($s, $m) = @_; print "ok $m\n"; } |