| 1 | 1 | ▶ | use strict; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | 1 | ▶ | use warnings; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 3 | |||
| 4 | package Medical::OPCS4::Term; | ||
| 5 | # ABSTRACT: An OPCS4 term object. | ||
| 6 | |||
| 7 | 1 | ▶ | use base 'Class::Accessor'; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 8 | |||
| 9 | 1 | Medical::OPCS4::Term->mk_accessors( qw( term description) ); | |
| 10 | |||
| 11 | =head1 METHODS | ||
| 12 | |||
| 13 | =head2 description | ||
| 14 | |||
| 15 | Returns a scalar containing the term's description. | ||
| 16 | |||
| 17 | my $desc = $O->description; | ||
| 18 | |||
| 19 | =cut | ||
| 20 | |||
| 21 | =head2 term | ||
| 22 | |||
| 23 | Returns a scalar containing the term's name. | ||
| 24 | |||
| 25 | my $term = $O->term; | ||
| 26 | |||
| 27 | =cut | ||
| 28 | |||
| 29 | 1 | 1; | |