in reply to Re^3: how to let sub return hash of 2 sub?
in thread how to let sub return hash of 2 sub?
Hello wise Monks,
first thanks to all.
The question emerges, what my point is exactly. I will try to name it. The really fix point is the request of code, which is given to me:
print $_->name, ': ', $_->val, "\n" for $objA->parameter( 'a.x' );This is fix, it is not allowed to me to change this. I myself now should find a solution, that fullfills this request.
I guess, that parts of some of you might have put together to work.
If I try the last of Ikegami, I have first to build an extra package NameValTuple to be able to call a new on it. May be this is the nearest solution. I will try this. I only tought there is a "short" construct, which can solve this request.
Thanks again and best regards, Thomas
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: how to let sub return hash of 2 sub?
by ikegami (Patriarch) on May 28, 2015 at 14:00 UTC | |
by jdporter (Paladin) on May 28, 2015 at 14:12 UTC | |
by ikegami (Patriarch) on May 29, 2015 at 16:14 UTC | |
by toohoo (Beadle) on Jun 01, 2015 at 12:26 UTC | |
|
Re^5: how to let sub return hash of 2 sub?
by Anonymous Monk on May 28, 2015 at 14:12 UTC | |
by ikegami (Patriarch) on May 30, 2015 at 16:00 UTC | |
by Anonymous Monk on May 30, 2015 at 21:15 UTC |