On Thursday 20 April 2006 21:48, Tom Phoenix wrote:
> 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
That was it exactly! Thanks for the very speedy reply. I will have to take
one of you training courses. :)
Allister
--
Public Key to be found at www.keyserver.net.
Search for [EMAIL PROTECTED]
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>