Syntactic Confectionery Delight | |
PerlMonks |
Cookie Helpby k0rn (Acolyte) |
on Apr 24, 2008 at 23:52 UTC ( [id://682739]=perlquestion: print w/replies, xml ) | Need Help?? |
k0rn has asked for the wisdom of the Perl Monks concerning the following question:
I have a problem with a cookie routine if ($register eq 1) { my $cookie = cookie( -NAME => 'zebulun.ath.cx', -VALUE => '$key', -EXPIRES => '+12h', ); print header(-cookie => $cookie); } The problem is the -VALUE => '$key'; instead of useing the data in the variable $key it uses it as text. Is their a way to fix that??
Back to
Seekers of Perl Wisdom
|
|