in reply to Re^2: Fetching cookies without errors?
in thread Fetching cookies without errors?
if (exists $cookies line to lose the error but when a cookie does exist the if line seems to stamp on the data leaving it undef?
That will be because in your sample code you overwrite the %cookies hash immediately on the next line. Don't do that if the hash already exists (it's pointless).
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Fetching cookies without errors?
by Dazz45X (Novice) on Aug 23, 2017 at 15:46 UTC |