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

It seems you have a hash of hashes. Assuming the name of your top level hash is %hash (it hopefully has a better name), you could do something like this:
for my $key (keys %{$hash{opt}}) { do_something($key) if $hash{opt}{$key} == $x; }