PDA

Click to See Complete Forum and Search --> : perl: %var?


Evan
Feb 18th, 2004, 04:59 PM
How would I add a hash array item to this on the fly later?


my %vars = (title => 'Mr.',
firstname => 'Bill',
lastname => 'Gates',
last_paid_month => 1, # February
amount => 392.12,
monthname => \@monthname,
);

CornedBee
Feb 19th, 2004, 05:30 AM
Doesn't
$vars{'role'} = 'Oppressor of the free Software World';
work?

Evan
Feb 19th, 2004, 09:55 AM
I tried that once, and it didnt work


$vars{'salutation'} = 'Mrs';


It did this morning though.

Thanks