Re: Carrots and Sticks
[email protected] (Simply Hao) Mon, 7 Aug 2000 16:30:13 -0400 (EDT)
| Newsgroups | perl.perl6.stdlib |
|---|---|
| Message-ID | <[email protected]> |
> Perhaps there needs to be something like an $API package variable
> which changes when the module API changes significantly?
I use a named argument in the constructor:
my $foo = Foo::Bar->new ('-api' => 'xeen');
> [1] ick, ick
I'm not sure whether it's a waste of code/cpu or not, so I don't use
that approach with all my modules. Luckily, I don't think anyone
else uses my modules.
-Hao