Hello beginners!
Where do I start... I've already done some reading on this and I've played
tag the wall with the forehead long enough.
What I'm challenging myself to do is to create:
a) a way to name a hash from user input
b) find a way to create a multi-level hash (hash within a hash)
>From what I can derive, you can insert an array as an element of a hash,
thus making it multi-dimensional.
As a side effort, which is probably easier...
I'm also asking for an example of multi-dimensional arrays, and the
object-orientation aspect.
I realize the arrays @array1 and @array2 will actually be slice numbers 0
and 1, but this is for
understandability I deviate.
#Create a multi-dimensional array
my @parent= (@array1,
@array2);
#Spit out the info in the arrays
foreach $i ($parent($array1)) {
print "$parent($array1[$i]) is part of $parent($array2[$i])\n";
}
If anyone can help me, I would be much appreciative.
Thanks,
Paul H.
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]