On Wed, Jun 16, 2010 at 03:11:34PM -0700, Kate Yoak wrote:
> > (Unrelated, but indirect method calls are evil! Stop that!)
> > 
> Indirect method calls? Whatever do you mean?
> 

  my $one = new Foo::Child;

This should be

  my $one = Foo::Child->new;

See
http://www.shadowcat.co.uk/blog/matt-s-trout/indirect-but-still-fatal/
and http://search.cpan.org/~vpit/indirect-0.21/lib/indirect.pm for an
explanation.

- doy

Reply via email to