in reply to Send several cookies by header() method

You can simply create a lot of cookies and send them off as an array:
print $query->header(-cookie=>[$cookie1, $cookie2]);

Dr. Michael K. Neylon - mneylon-pm@masemware.com || "You've left the lens cap of your mind on again, Pinky" - The Brain