I brought this up a week or so ago as part of another problem _I_ was
having with TT. One reply I got indicated this should not be a problem so
I'm thinking I explained it wrong.
This is the actual error message I'm getting in my browser (with the
good-stuff changed).
Options must be name=>value pairs (odd number supplied) at D:\SERVER\index.pl line 193
I've found only one way to fix this that being to add a name=>value pair
if there is and odd number of keys in the hash.
And tied into this I've noticed that my hash is getting an empty-looking
name=>value somewhere along the line. I suspect my form and CGI.pm are
having a bit of a disagreement. I'd like for -- correctness' sake -- to
remove this pair.
Looking through the cook book on Safari (The Camel is at home ) I see
delete($HASH{$KEY});
But nothing about how to delete name=>value pair(s) based on a value(s).
Is there a slick method to do this verses a "brute force" loop? Hints are
as good as code and make me think!
TIA,
Rod
--
"Open Source Software - You usually get more than you pay for..."
"Build A Brighter Lamp :: Linux Apache {middleware} PostgreSQL"
"My middleware is perl. Why are you working so hard?"
_______________________________________________
templates mailing list
[EMAIL PROTECTED]
http://lists.template-toolkit.org/mailman/listinfo/templates