[pm-h] hash creation - syntax error

Russell L. Harris rlharris at oplink.net
Sat May 10 19:42:56 PDT 2008


* Robert Boone <robo4288 at gmail.com> [080510 16:35]:
> The problem is you can't declare a hash and assign it like that. You
> would need to assign it a list when you declare it. Plus by using "my"
> to declare the hashes you would lose the data at the end of each loop.
> Here is one way to solve your problem.
> 
> use Data::Dumper;
...

I thank you, Robert.  And thanks for the introduction to Dumper.

This is one phase of the project which I began about a month ago
(subject: "generating and populating files using a systematic name").
The pieces are coming together slowly.

RLH



More information about the Houston mailing list