On Wednesday, April 3, 2002, at 08:26 , patrick hall wrote:

check yesterday's discussion about using a hash here.

> I've tried using glob, but I can only get the file
> _names_ into the array, not contents. I guess I could
> just write three separate opens [i.e., open(FH1,
> "file1.txt") and so on] and then put each into an
> array, then push those onto @lines, but it seems like
> there should be an easier way.

never send an array to do a hash-ize's job...


        %fileHash = (
                $file1 => $fh1,

        );

ciao
drieux

---


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to