[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl-AnyPerl] About This .pm Stuff



At 08:21 +0000 5/2/1999, Bart Lateur wrote:
>My advice would be to make the keys lower case, when entering the data
>in the hash.
>
>	$hash{lc $keyword} = $value;

I had thought about that, but there are some peculiar problems 
concerning duplicate key strings ("mark" and "Mark" are two different 
things) and copyright restrictions that may prevent merging them 
(sigh). Now I am asking myself why I am bothering with a tied hash to 
begin with? The file's pretty big, but doesn't have but 3,000 
physical lines and I think that just using

if (/^$query/i)

may be perfectly acceptable. Thanks for your help.


Richard Gordon
--------------------
Gordon Consulting & Design
Database Design/Scripting Languages
mailto://maccgi@bellsouth.net
770.565.8267

==== Want to unsubscribe from this list?
==== Send mail with body "unsubscribe" to macperl-anyperl-request@macperl.org