fix delete %header
authorMischa POSLAWSKY <perl@shiar.org>
Mon, 2 Jun 2008 06:56:40 +0000 (06:56 +0000)
committerMischa POSLAWSKY <perl@shiar.org>
Mon, 2 Jun 2008 06:56:40 +0000 (06:56 +0000)
commit6c6d67b2fb0a2a211f3603edcb2d2f7609f51f4f
tree3c9735c3a65a8b7af8a52c7a644b2b7061ad4ba8
parent0cfa86cf4c741be9c11ee71e138963671d0e2f3c
fix delete %header

Header value wasn't deleted case-insensitively.  Because the alias was
still removed correctly, it usually worked, but as of recently producing
warnings in sendheaders().

Also, delete returned the original key (not documented anywhere).
Change this to always return the deleted value, matching the behaviour
of normal hashes and user expectation.
Changes
lib/PLP/Tie/Headers.pm