|
|
|
Clear questions and runnable code get the best and fastest answer |
|
| PerlMonks |
Re: How can I acces the "member" stepxxx of the structure given below?by swampyankee (Parson) |
| on Feb 05, 2016 at 18:55 UTC ( [id://1154506]=note: print w/replies, xml ) | Need Help?? |
|
I think it would be helpful if you gave us a little context -- checking the value of it's contents seems like just one piece of a multi-step process. I also tend to get suspicious when I see lots of things with names like "stepxxx" where "xxx" seems to be counting. When one has something like that, I, for one, wonder why isn't an array being used: Why doesn't your structure look like $hash{opt}{step} = 001, 002, .....999;This way, you could easily pull out element xxx and test its value.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||