Barry Jones wrote:
>
> If I have a hash full of values, and some of those values point to
> arrays of more values...in a loop, how could I distinguish which ones
> pointed to an array and which were just string values?
>
> If that doesn't make sense, here's jotted diagram:
>
> Hash
> Key 1 => Value
> Key 2 => Value
> Key 3 => Array
> [0] => Value1
> [1] => Value2
> Key 4 => Value
Why not just store all the values in arrays? Then you won't have the
problem of trying to differentiate between the two.
Hash
Key 1 => Array
[0] => Value
Key 2 => Array
[0] => Value
Key 3 => Array
[0] => Value1
[1] => Value2
Key 4 => Array
[0] => Value
John
--
use Perl;
program
fulfillment
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]