1) in the script, the variable $data is undeclared. doesn't it require an explicit package name?
2) it appears that the script is still required to know the name of the hash in the module?
3) i don't follow the use statement in the script. i can only use "files"; you are using a file _and_ a data structure. ( in fact, my perl copy reflects this as the $pm variable is uninitialized. )
In reply to Re^2: modules as data files
by Anonymous Monk
in thread modules as data files
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |