1LWP::MemberMixin(3) User Contributed Perl Documentation LWP::MemberMixin(3)
2
3
4
6 LWP::MemberMixin - Member access mixin class
7
9 package Foo;
10 require LWP::MemberMixin;
11 @ISA=qw(LWP::MemberMixin);
12
14 A mixin class to get methods that provide easy access to member vari‐
15 ables in the %$self. Ideally there should be better Perl language sup‐
16 port for this.
17
18 There is only one method provided:
19
20 _elem($elem [, $val])
21 Internal method to get/set the value of member variable $elem. If
22 $val is present it is used as the new value for the member vari‐
23 able. If it is not present the current value is not touched. In
24 both cases the previous value of the member variable is returned.
25
26
27
28perl v5.8.8 2004-04-06 LWP::MemberMixin(3)