I have the following code
Which produces a hash reference
I am trying to execute code
but cannot work out how to assign the hash, using $EMES.
I think I must call $EMES as a reference but what is the syntax?
I know it should be simple but my head hurts
Keith
Code:
my $EMES='$'.$TABLE_NAME[$WHICH_TABLE];
$EMES.='_COMMENT';
$EMES.="{'EMAIL'}";
print "em - $EMES<BR>";
Code:
em - $CUSTOMERS_COMMENT{'EMAIL'}
Code:
$CUSTOMERS_COMMENT{'EMAIL'}="A Message";
I think I must call $EMES as a reference but what is the syntax?
Code:
$EMES="A Message" # assigns new value,
\$EMES="A Message" # throws a dizzy fit
Keith