in reply to Re: Anonymous sub clarification
in thread Anonymous sub clarification

Hi perlfan,

I just tested this with Mojolicious::Lite, and I had to dereference the hash/array with get(%$hash_ref); / get(@$array_ref); for it to work.

Regards,
-- Hauke D

Replies are listed 'Best First'.
Re^3: Anonymous sub clarification
by perlfan (Parson) on Jul 22, 2016 at 15:44 UTC
    Cool, then I was close. I didn't test it and I don't use Mojo, but I think I made my point. Thanks!