104 |
|
if (-f $filename) |
105 |
|
{ |
106 |
|
$self->parsefile_($filename); |
107 |
+ |
# Move the data from the container to {data_} key: |
108 |
+ |
$self->data(); |
109 |
|
} |
110 |
|
else |
111 |
|
{ |
137 |
|
sub data() |
138 |
|
{ |
139 |
|
my $self=shift; |
140 |
< |
return $CONTAINER->data_(); |
140 |
> |
$self->{data_} = $CONTAINER->data_(); |
141 |
> |
# return $CONTAINER->data_(); |
142 |
|
} |
143 |
|
|
144 |
|
# The default handlers: |
176 |
|
# Pass the call to the container class. This will use the AUTOLOAD |
177 |
|
# function of the class: |
178 |
|
$CONTAINER->open($element); |
179 |
< |
$CONTAINER->$element(\%attributes); |
179 |
> |
$CONTAINER->$element($element,\%attributes); |
180 |
|
} |
181 |
|
} |
182 |
|
|