5

Perl: accessing reference to variable inside hash.

view full story
linux-howto

http://www.unix.com – Below is hash which contains reference to variables: Code: my %mandatoryFields = (                     1  => \$msgtype,                     2  => \$switchtype,                     3  => \$card_nbr,                     4  => \$natv_tran_type_code,                     5  => \$amt_1 ); This works: Co (HowTos)