Marcelo E. Magallon wrote:

On Sun, May 22, 2005 at 10:38:12AM -0700, Jeff Zucker wrote:

>    my $var = $self->hub->config->foo_var;

What I have here -- working -- is:

$self->hub->foo->config->foo_var;


Aha! Thanks much Marcelo++^9. My test script works if I make that change and also either omit the init() or change it from

$self->hub->config->add_file('config/foo.yaml');

To

sub init { $self->hub->config->add_file('foo.yaml'); }

--
Jeff

Reply via email to