I'm using the HTML:
arser module and everything is the way that I want it. What I want to do is set a temporary cookie before parsing the html page. Any suggestions on how to do this?
Here is what I am trying to do (which doesn't work):
print header(
-cookie=>cookie(-name=>"keygen", -value=>$r[2], -expires=>$cookiedate, -path=>"/"
,
);
$p=HTML:
arser->new(api_version => 3);
$p->parse($html);
If instead of parsing the html, I redirect to another page, the temp cookie is set.
Here is what I am trying to do (which doesn't work):
print header(
-cookie=>cookie(-name=>"keygen", -value=>$r[2], -expires=>$cookiedate, -path=>"/"
);
$p=HTML:
$p->parse($html);
If instead of parsing the html, I redirect to another page, the temp cookie is set.