gayu_justin has asked for the wisdom of the Perl Monks concerning the following question:
I have function with return value like below :
return { red => { sla => $sla_red, eta => $eta_red, pending => $red +_pending}, green => { sla => $sla_green, eta => $eta_gr +een, pending => $green_pending}, };
I want to take only $sla_red and $sla_green each time the function calls in another cgi file. Please help me doing this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Taking individual values from return of a function
by McA (Priest) on Dec 10, 2013 at 08:26 UTC | |
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 | |
|
Re: Taking individual values from return of a function
by davido (Cardinal) on Dec 10, 2013 at 08:31 UTC | |
by gayu_justin (Novice) on Dec 10, 2013 at 08:38 UTC | |
by AnomalousMonk (Archbishop) on Dec 10, 2013 at 20:47 UTC | |
|
Re: Taking individual values from return of a function
by Anonymous Monk on Dec 10, 2013 at 08:28 UTC |