in reply to Re: Sharing Namespaces
in thread Sharing Namespaces

perl -le '$Foo::bar = "Hello"; *Baz::bar = *Foo::bar; print $Baz::bar +'
Works if you iterate over the namespace instead of trying to do it in one shot.

For slinging around globs, you might find this snippet illustrative. Basically a very small exporter.

Why not just use set up the module to by default, export everything you're interested in. Then it's a matter of just adding the "use" statement to each module/script, (but they're already using it right?).


-Lee

perl digital dash (in progress)