[Date Prev][Date Next][Thread Prev][Thread Next]
[Search]
[Date Index]
[Thread Index]
Re: [FWP] Parsing rfc822 headers
On Tue, Jun 29, 1999 at 08:07:35PM +0200, Christian Borup wrote:
> > I don't get it. Why return a list of hashes? Don't you want
> > just a hash with the header names as keys and the (possible
> > multiple) values as list refs?
>
> Nope, I pass the result on to a template driven output thingie (a rather
> nifty one I might ). Also I want them in the original order.
Then why not a list of lists, rather than a list of hashes? Instead of
{key} and {value}, use [0] and [1]. And, you would no longer need $q!
Ronald
==== Want to unsubscribe from Fun With Perl?
==== Well, if you insist... Send mail with body "unsubscribe" to
==== fwp-request@technofile.org