Jay1687 has asked for the wisdom of the Perl Monks concerning the following question:
I am very new to perl.Need help with understanding some stuff..
I have having 3 loads. suppose a,b,c..
These loads get assigned in a variable $load turn by turn as they are in a loop.I am having departments of these three loads stored in another variable $dept..
I am trying to assign a value of a variable $loadrel for each $load to its corresponding $dept..
I am using this.
$loadrel{$load} .="$dept";.
I am getting null as output.$loadrel is not getting set to any value..
Can you please guide me please..
Thanks in Advance.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Need Help:Trying to assign Conditional Value to a variable
by Anonymous Monk on Feb 17, 2012 at 00:23 UTC | |
|
Re: Need Help:Trying to assign Conditional Value to a variable
by TJPride (Pilgrim) on Feb 17, 2012 at 10:02 UTC |