[Pdx-pm] Package Parameters?

Joshua Keroes jkeroes at eli.net
Thu May 13 12:43:47 CDT 2004


On May 13, 2004, at 10:38 AM, Wil Cooley wrote:
> Can someone direct me to the right docs that explain how to make
> packages take parameters?  I've looked over everything I've got and
> can't find anything about it.  Maybe I'm using the wrong terms; what 
> I'm
> talking about is something like this from the client side:
>
> use Class::MakeMethods::Standard::Hash (
> 	'scalar' => 'foo'
> );
>

import() is the key. See the Package::Alias source for one example.

-J




More information about the Pdx-pm-list mailing list