Re: building hash table

2003-03-26 Thread John W. Krahn
Pam Derks wrote: > > Hi all, Hello, > am struggling with this, and it must be the something simple but for > the life of me I don't see it. > > Am trying to build a hash table with: > instructor name and their biography > > I've tried just about everything, but I can't get the values to show..

Re: building hash table

2003-03-26 Thread Sudarshan Raghavan
On Tue, 25 Mar 2003, Pam Derks wrote: > Hi all, > > am struggling with this, and it must be the something simple but for the life of me > I don't see it. > > Am trying to build a hash table with: > instructor name and their biography > > I've tried just about everything, but I can't get the va

Re: building hash table

2003-03-26 Thread Aim
Hi again, Sorry I think I missed the point (only just spotted the last 2 lines of the output). Try substituting for the following: "$hash{$name} .= $words;" for "$hash{$name} = $words;" Regards Aim. === Aim wrote: > Hi, >

Re: building hash table

2003-03-26 Thread Aim
Hi, I have run your script (no chnages) on your data and I get the following output, is this what you expected? Also check if the very first line of your script holds the usual (#!/usr/bin/perl -w). __START__ N: VIRGINIA ABASCAL W: , M.A., is a freelance director and has directed more W: than 40

building hash table

2003-03-26 Thread Pam Derks
Hi all, am struggling with this, and it must be the something simple but for the life of me I don't see it. Am trying to build a hash table with: instructor name and their biography I've tried just about everything, but I can't get the values to show... where am I going wrong? thanks, Pam sn