develooper Front page | perl.perl5.porters | Postings from August 2010

Re: Mutually dependent classes

Thread Previous | Thread Next
Leon Timmermans
August 5, 2010 03:10
Re: Mutually dependent classes
Message ID:
On Thu, Aug 5, 2010 at 2:21 AM, Mark J. Reed <> wrote:
> Dumb question maybe, but if I have two classes which need to call
> methods on each other's objects, how can I define them without getting
> 'redefined subroutine' warnings (and possibly assorted other
> circular-reference problems)?

p5p is not a mailinglist for questions like this, but for development
on the perl interpreter itself. I would recommend using stackoverflow,
or comp.lang.perl.misc for your questions.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About