I am struggling with hashes in perl. I am trying to declare a hash, but with no keys and values(empty one). Then I want to populate keys and values from a certain file with some structure(simple text file). I have ActiveState's perl 5.8.
Example:
%glMap ();
the file looks like:
key1|val1
key2|val2
...
How can I do it?


Reply With Quote
Bookmarks