On Fri, 14 Feb 2014, Naveed Massjouni wrote:
On Thu, Feb 13, 2014 at 11:37 PM, Warren Young <[email protected]> wrote:
[...]
    $session->{foo} = 'bar';

    session 'more' => 'changes here';
[...]
It does not make sense to me that calling session() as a getter (as
opposed to a setter) should write out the session on each access. To
do that would probably require using Tie::Hash to have it invoke
flush() on every modification of the hash. I'm not sure if that extra
complexity is worth the benefit.

That's not the problem.

As I read it:

my $foo = session 'foo'; # getter after setter session 'more' => 'changes here';

is gone.

--
Henk
_______________________________________________
dancer-users mailing list
[email protected]
http://lists.preshweb.co.uk/mailman/listinfo/dancer-users

Reply via email to