Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Beautiful description. I too have tried over and over to learn this. I ended up creating a moc multi-dimentional array with a hash:
$qa{"Q1.A3"} ="Question 1, Answer 3"; # dbl Quotes required! I can iterate through the array answers for Q1 like this: for $i (1..5) print $qa{"Q1.A$i"} . '\n'; As an added benefit, I can also create other "properties": $qa{"Q1.type"} = "radio"; So, that makes it sort of like a virtual object, which I need to learn someday. This was great. Thanks again. -sleve In reply to Re: Multidimensional Arrays
by Anonymous Monk
|
|