in reply to Pragma (more) like Java's 'import'?
However, I don't believe Exporter has this sort of functionality (or any other module for that matter), so you'd have to implement it yourself.package Foo::Bar::Baz; sub import { $main::{"Baz::"} = $Foo::Bar::{"Baz::"}; }
_________
broquaint
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Pragma (more) like Java's 'import'?
by jryan (Vicar) on May 11, 2003 at 23:19 UTC | |
|
Re: Re: Pragma (more) like Java's 'import'?
by theorbtwo (Prior) on May 11, 2003 at 22:28 UTC | |
by broquaint (Abbot) on May 11, 2003 at 22:45 UTC | |
by theorbtwo (Prior) on May 11, 2003 at 23:05 UTC |