> 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

Reply via email to