[ic] Filling perl hashes with [query] and searching the hash for
product display restriction
Fri, 26 Jan 2001 10:04:40 +0100
> Perhaps. The only problem with that is it will depend on the SQL --
> some DBI drivers don't return field names unless there is at least one
This is a surprise to me. I tought it was a requirement to return field
> row returned. I will not get into parsing field names from the select,
No, of course not.
> so it is probably best to manage that part yourself -- you presumably
> know what fields you queried, and can save them to a pointer hash.
Or I can use positional numbers. I don't know which solution I hate the
> I will keep it in mind and not make any promises.
One solution could be to implement it of the DBI driver supports it, and
if not: Bad luck. But that would of course have its own set of problems.
Kaare Rasmussen --Linux, spil,-- Tlf: 3816 2582
Kaki Data tshirts, merchandize Fax: 3816 2501
Howitzvej 75 Åben 14.00-18.00 Email: firstname.lastname@example.org
2000 Frederiksberg Lørdag 11.00-17.00 Web: www.suse.dk