[Catalyst] Plugin::Session lazy start

Ashley Pond V apv at sedition.com
Wed May 23 14:58:21 GMT 2012


On Wed, May 23, 2012 at 7:42 AM, Alexander Hartmaier
<alexander.hartmaier at t-systems.at> wrote:
> Because I've just read perlvar: $REAL_USER_ID or $UID instead of $<.

I think this is generally excellent advice but I want to argue against
it in this case.

UID => sub { $< } is sufficiently semantic *and* edifying. E.g., Oh!
That's the special var for UID. It finally makes sense.

use English;
UID => sub { $UID } is redundant to point of being annoying and even
distracting (to me).



More information about the Catalyst mailing list