wrote:
> On Mon, 12 Jan 2009 16:41:12 -0800, Tim Greer <>
> wrote:
>
>> wrote:
>>
>>> On Mon, 12 Jan 2009 17:55:36 -0600, Tad J McClellan
>>> <> wrote:
>>>
>>>>Francois Massion <> wrote:
>>>>
>>>>> I would like to use 2 arrays, says @array1 and
>>>>> @array2 instead of files a.txt and b.txt.
>>>>
>>>>
>>>>> while (<WORDLIST2>) {
>>>>> $list2{$_}=1; #or any other value
>>>>> }
>>>>
>>>>
>>>> my @b_txt = <WORDLIST2>;
>>> Isin't slurp a bit rich?
>>> [snip]
>>>
>>> sln
>>
>>Probably, but that's what the OP asked for. I can't imagine why, but
>>perhaps they just need to elaborate on their reasons to get a good
>>answer. Personally, I didn't answer them, because I had to ask what
>>they were wanting to do, since it didn't seem clear to me (or didn't
>>seem to have a purpose and would just waste good processing).
>
> There's a thin line between yes and no, but if its not yes....
>
> sln
Its (its) or it's (it is) not yes, and what isn't? I'd say it is yes
(being it's "probably" going to be more resource intensive to grab all
of the contents of WORLDLIST2 into an array), only to compare then,
comparing it to a while loop to see if a hash value exists before
adding it (if the OP wants to add it). I absolutely don't understand
your cryptic response. I'm certain you were being sarcastic, but I
don't know if you mean to have a question in there.
--
Tim Greer, CEO/Founder/CTO, BurlyHost.com, Inc.
Shared Hosting, Reseller Hosting, Dedicated & Semi-Dedicated servers
and Custom Hosting. 24/7 support, 30 day guarantee, secure servers.
Industry's most experienced staff! -- Web Hosting With Muscle!