deep recursion on anonymous subroutine
[prev]
[thread]
[next]
[Date index for 2005/04/07]
I have 3 classes Version Maintainer and User
Uploader->has_a( version => "Version" );
Uploader->has_a( uploader => "User" );
which means I can do
$version->uploader->uploader->name;
But, obviously I'd prefer to be doing $version->uploader->name;
However, doing
Version->might_have(uploader => "Uploader" => qw/uploader/);
produces this error
Deep recursion on anonymous subroutine at
/software/perl/5.6.1/linux/lib/site_perl/5.6.1/Class/DBI/Relationship/MightHave.pm
line 58.
Sorry for being so pesky at the moment, I'm switching back and forth
between C++ and Perl at the moment and my Class::DBI-mojo (what little
there was) has been severely damaged.
Simon
|
deep recursion on anonymous subroutine
Simon Wistow 15:58 on 07 Apr 2005
|