in reply to Taking individual values from return of a function
Hi,
what keeps you away from just taking these two values?
You could use a wrapper if you need:
sub your_wrapper { my $ret = your_function(@_); return ($ret->{red}->{sla}, $ret->{green}->{sla}); } my ($val1, $val2) = your_wrapper('bla', 'blub');
Regards
McA
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Taking individual values from return of a function
by Anonymous Monk on Dec 10, 2013 at 08:29 UTC | |
by karlgoethebier (Abbot) on Dec 10, 2013 at 17:20 UTC | |
by Anonymous Monk on Dec 10, 2013 at 17:51 UTC | |
by karlgoethebier (Abbot) on Dec 10, 2013 at 18:40 UTC |