On Mon, Mar 07, 2005 at 10:13:03AM +1100, Damian Conway wrote:
> Rafael Laboissiere - [EMAIL PROTECTED] wrote:
> 
> >>The tutorial mentions multiple times returning values from actions.
> 
> Err, no. The tutorial never says that.

Right. It seems my subconsciouness somehow assumed that the actions are
perl subs. Apparently they are not.

> >>One things it fails to mention is that calling return in an action is
> >>completly different from setting $return or just specifying the value as
> >>the last statement. 
> 
> This is true. Frankly, it never occurred to me that anyone would even try 
> to do that.

OK, I admit that I didn't read the documentation thoroughly at first,
on the other hand, wouldn't you agree that being able to use "return"
would be more intuitive? However it seems that changing that behaviour
would break backwards compatibility, since now that is a way of
rejecting a production (if I'm using the right terms).

> Nor have I ever had that misunderstanding reported to me 
> before. Of course, now that I have, I will definitely add a warning to the 
> "GOTCHAS" section of the documentation for the next release.

Great.

> As for changing the tutorial, I am unable to do that, not being the 
> copyright holder.

Hmm.. Rafael, does that mean that the debian package contains a file
whose license does not comply with DFSG?

> I apologize that you had difficulties with the module.

Oh, that was just fun :)

regards,

Marcin
-- 
Marcin Owsiany <[EMAIL PROTECTED]>             http://marcin.owsiany.pl/
GnuPG: 1024D/60F41216  FE67 DA2D 0ACA FC5E 3F75  D6F6 3A0D 8AA0 60F4 1216


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to