> Then I try to fetch it later with: > > use CGI::Cookie; > my $c = fetch CGI::Cookie; > > print $c{'cd'}; > > That print statement OUTPUTS > cd=whatever; path=/ > why isn't it just 'whatever', did I set the cookie wrong? > I can get the right value, IE 'whatever', by doing a split on > it but I'd like to avoid me parsing it since as you can > probably tell I'm an idiot! > > Ok I am an idiot. I just found it : I don't even need CGI::Cookie for this only CGI qw(:standard); my $v = cookie('cd'); And $v is 'whatever'
Thanks for listening to me whine! Dan -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]