Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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??


in reply to How can I acces the "member" stepxxx of the structure given below?

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.


Information about American English usage here and here. Floating point issues? Please read this before posting. — emc

  • Comment on Re: How can I acces the "member" stepxxx of the structure given below?

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1154506]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-04-19 15:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found