in reply to Re: Writing Modules
in thread Writing Modules
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Writing Modules
by armstd (Friar) on Aug 23, 2011 at 15:12 UTC | |
by perl.j (Pilgrim) on Aug 23, 2011 at 15:29 UTC |