23 |
no strict 'refs'; |
no strict 'refs'; |
24 |
eval qq{ |
eval qq{ |
25 |
sub $method_name (\$) { |
sub $method_name (\$) { |
|
if (\@_ > 1) { |
|
|
require Carp; |
|
|
Carp::croak (qq<Can't modify read-only attribute>); |
|
|
} |
|
26 |
return \${\$_[0]}->{$method_name}; |
return \${\$_[0]}->{$method_name}; |
27 |
} |
} |
28 |
}; |
}; |
66 |
return bless \\($_[0]), 'Message::DOM::NodeList::EmptyNodeList'; |
return bless \\($_[0]), 'Message::DOM::NodeList::EmptyNodeList'; |
67 |
} # child_nodes |
} # child_nodes |
68 |
|
|
69 |
sub node_name ($); # read-only trivial accessor |
sub node_name ($); |
70 |
|
|
71 |
sub node_type () { 12 } # NOTATION_NODE |
sub node_type () { 12 } # NOTATION_NODE |
72 |
|
|