in reply to Re: Hash creation
in thread Hash creation
foreach (@inputfields)
{
($fname, $fvalue)=split(/:/, $_);
$inputs{$fname}=$fvalue;
}
Here is the code for the second hash:
$defref = {
requester_name => $inputs{"Requester Email"},
requester_email => $inputs{"Project Manager Name"}
}
Where the actual "Requester Email" and "Project Manager Name" are actual key values (i.e. $fname). As far as I can tell, nothing ever gets loaded into $defref. I am making illegal references? Thanks!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Hash creation
by johngg (Canon) on May 02, 2008 at 22:51 UTC | |
|
Re^3: Hash creation
by linuxer (Curate) on May 02, 2008 at 21:11 UTC |