Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
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 ( #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
Node Status?
node history
Node Type: note [id://1154506]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others browsing the Monastery: (3)
As of 2020-10-01 05:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    If at first I donít succeed, I Ö










    Results (175 votes). Check out past polls.

    Notices?