Re: deep recursion on anonymous subroutine

[prev] [thread] [next] [Date index for 2005/04/07]

From: Tony Bowden
Subject: Re: deep recursion on anonymous subroutine
Date: 16:52 on 07 Apr 2005
On Thu, Apr 07, 2005 at 04:58:32PM +0100, Simon Wistow wrote:
> 	Version->might_have(uploader => "Uploader" => qw/uploader/);

This will create two different "uploader" methods. One which gets the
Uploader object and which is the result of calling ->uploader() on that.

Perhaps you could try
 	Version->might_have(_uploader => "Uploader" => qw/uploader/);

Then _uploader() will get the object if you need it, leaving uploader()
for the method call..

Tony

deep recursion on anonymous subroutine
Simon Wistow 15:58 on 07 Apr 2005

Re: deep recursion on anonymous subroutine
Perrin Harkins 16:15 on 07 Apr 2005

Re: deep recursion on anonymous subroutine
Tony Bowden 16:52 on 07 Apr 2005

Generated at 06:54 on 17 May 2005 by mariachi v0.52