On Wed, 27 Sep 2000, iain truskett wrote:

> Is order important for @HEADERS? Would it be better to have %HEADERS
> instead that does such auto-formatting?

In my opinion, no, for the reasons given before. Hashes are unordered, and
if you want to order the keys, you need to know the possibly keys and in
which order they come. Then, if HTTP/4.2 comes out with the Toast:
light|medium|dark header, which has to come after the new Breakfast:
header but before any (already existing) Content-Transfer-Encoding:
headers, you need to upgrade Perl to get a new one that know about Toast
headers. Better to have something that's either (a) pluggable without
having to replace all of Perl, or (b) header-agnostic, so you have to
specify your own ordering -- which also means you *can* specify your own
ordering.

Cheers,
philip

-- 
Philip Newton <[EMAIL PROTECTED]>

Reply via email to