Help for this page

Select Code to Download


  1. 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);
    
  2. or download this
    sub FETCH {
        my $self = shift;
    ...
        }
        ...
    }
    
  3. or download this
    $config->{FETCH} = SomeWidget->new(...);
    my $response = $config->FETCH->(
        term => [ 'range', 'of', 'values' ], ...
    );
    
  4. or download this
    sub FIRSTKEY {
        my $self = shift;
    ...
        push(@{$_[0]}, $name); # Either way works...
        return $name;
    }
    
  5. or download this
    # XXX: When dereferencing config keys, don't say ->FIRSTKEY, ->DESTROY
    +, ...