"be consistent" | |
PerlMonks |
Re: Don't want duplicate cookies with the same nameby Gloom (Monk) |
on Jan 23, 2001 at 20:57 UTC ( [id://53723]=note: print w/replies, xml ) | Need Help?? |
Store your cookies in a hash, sorted by name. I think it's a good solution to disallow duplicate entry. You can also verify if a cookie already exits with the exists statment.
In Section
Seekers of Perl Wisdom
|
|