On 2006-06-16 07:01:58, zefram@fysh.org wrote:
Show quoted text> RRWO wrote:
> >You should add support for the "no" interface,
> >which calls the unimport function in a module.
>
> Presumably this request is based on the understanding that the module
> already supports the "use"/"import" interface. Actually it supports
> neither: it never calls either "import" or "unimport" methods.
I think the requestor was asking for Module::Runtime itself to implement an unimport method, which is called (when it exists) by "no Module::Runtime".
However, not even Exporter.pm implments an 'unimport' yet, so this convention is not terribly well-established. Additionally, an easier way of cleaning one's namespace, rather than calling 'no $module' for every module 'used' earlier, is to simply use namespace::clean or namespace::autoclean.