- or download this
my $config = config(
bool => true,
...
...
my $widget = $config->{path/to/some/nested/doohickey}; # This is actu
+ally a nested tree traversal underneath...
my $thingy = $widget->evaluate($with_this_context);
- or download this
sub FETCH {
my $self = shift;
...
}
...
}
- or download this
$config->{FETCH} = SomeWidget->new(...);
my $response = $config->FETCH->(
term => [ 'range', 'of', 'values' ], ...
);
- or download this
sub FIRSTKEY {
my $self = shift;
...
push(@{$_[0]}, $name); # Either way works...
return $name;
}
- or download this
# XXX: When dereferencing config keys, don't say ->FIRSTKEY, ->DESTROY
+, ...