On 4/20/06, Allister <[EMAIL PROTECTED]> wrote:

>  %qnums_quests = ($quest_number, $quest_string);

The assignment operator replaces the entire variable on the left with
the value on the right. If you wish to modify the hash, instead of
replacing everything it contains, you probably want a statement more
like this:

    $qnums_quests{$quest_number} = $quest_string;

I don't know whether this is the only problem with your code, since I
stopped looking when I saw this line. Hope this helps!

--Tom Phoenix
Stonehenge Perl Training

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to