tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Crowther <Peter.Crowt...@melandra.com>
Subject RE: [OT] of the different methods to get a user-id
Date Fri, 13 Feb 2009 10:21:28 GMT
> From: André Warnier [mailto:aw@ice-sa.com]
> I was going to let that one pass, but now I'm provoked.
> The expressions above do work differently in Perl.
[...]
> However, the calle sub can be cleverer and anticipate this, by doing :
> return wantarray ? (i++) : i++;
> thus checking in which context it is being called, and returning the
> appropriate form of response.
>
> Perl is great !

Thank you.  Although I don't need any further reasons to avoid that camel of a language whenever
I can, it's always nice to find another really good reason to avoid it...

                - Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message