I seem to still be stuck. Hear is my "module" now:
package pack; use Exporter; @EXPORT = "$thing"; our $thing = "thing"; 1;
And here is my program:
use mine::package qw($thing); print "hello $thing";
My output ends up being hello instead of hello thing. Thanks for the help.
In reply to Re^2: Writing Modules
by perl.j
in thread Writing Modules
by perl.j
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |