Reading and comparing with a criteria file

2007-04-25 Thread Chad Kemp
Hello all. I have a question regarding reading in a criteria file, storing that criteria in memory and reading in user IDs from another file periodically, comparing attributes associated to that ID to the criteria i have stored, and placing those IDs which match into groups defined by the c

Hash of anonymous hashes

2007-04-18 Thread Chad Kemp
Hello all, I have a hash anonymous hashes. The data stream that I am getting is actually from an SQL query a users ID, like "jones12a3", a subsystem name associated to that ID, like "Lotus Notes", and a number, "3" tied to the number of subsystems changes that that user has implemented. s

Re: how to know the object type

2007-04-03 Thread Chad Kemp
Anish Kumar K wrote: Hi In java we have instance operator to tell the type of Object. Similarly in perl say I am passing a reference object to a function, Is it possible to detect in the function whether the object is HASH or ARRAY... Thanks Anish Hello Anish... If I'm not mistaken, al

Re: hash referrences and such

2007-03-30 Thread Chad Kemp
Mathew Snyder wrote: Chad Kemp wrote: Mathew, try to test every condition going INTO the hash (or hashes) before you actually assign a value to a key. as mentioned earlier, hashes must be key/value pairs. the key will auto-vivify if a key is "new" but only if a correspon

Re: hash referrences and such

2007-03-23 Thread Chad Kemp
Mathew, try to test every condition going INTO the hash (or hashes) before you actually assign a value to a key. as mentioned earlier, hashes must be key/value pairs. the key will auto-vivify if a key is "new" but only if a corresponding value accompanies it. when you assign values to a