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
15 variables in the %$self. Ideally there should be better Perl language
16 support 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
23 variable. If it is not present the current value is not touched.
24 In both cases the previous value of the member variable is
25 returned.
26
27
28
29perl v5.12.4 2008-04-11 LWP::MemberMixin(3)