in reply to Re^4: Baking Cookies and Eating them
in thread Baking Cookies and Eating them

Thanks.

So $cookies{'LSRfm'.$type}->value returned a hash ref. Which I guess, means I didn't read the docs right.

What do you get with

use Data::Dumper; my $cookie_value = $cookies{'LSRfm'.$type}->value; print qq|<pre>|; print Dumper $cookie_value; print qq|</pre>|; exit;


grep
Mynd you, mønk bites Kan be pretti nasti...

Replies are listed 'Best First'.
Re^6: Baking Cookies and Eating them
by barrycarlyon (Beadle) on Sep 30, 2006 at 22:38 UTC

    I found a problem with my cookie, i tested using the dual value in the example on cpan, the data dumper is:

    $VAR1 = { 'password' => '025a38ae929ace0637824f7728da371d', 'username' => 'barrycarlyon' };
    but with font and size, (note speechmarks, and values are on two lines not one)
    so I corrected my cookie creation, and will now try your solution again
    Barry Carlyon barry@barrycarlyon.co.uk