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

Re: Mutually dependent classes

Thread Previous | Thread Next
From:
Leon Timmermans
Date:
August 5, 2010 03:10
Subject:
Re: Mutually dependent classes
Message ID:
AANLkTinNDnCZNjR23Od5h58wKcjdF2046E-kBVuRaYYd@mail.gmail.com
On Thu, Aug 5, 2010 at 2:21 AM, Mark J. Reed <markjreed@gmail.com> 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.

Leon

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About