in reply to Populating A Hash

One comment: In your first while loop, do you mean while(<MESG>) rather than while()? (As it stands, it doesn't seem like it can do anything.) With that change it does run (but I haven't studied it enough to really understand what the point is.) You could explain what you're trying to do if you wish.
chas

Replies are listed 'Best First'.
Re^2: Populating A Hash
by Anonymous Monk on Mar 02, 2005 at 20:22 UTC
    Yes the intention was to include the file handle,just a typo unfortuately.My main inquiry was to learn how to populate a hash. Thanks for the help.