in reply to Re: Re (5): exporter and multiple namespaces
in thread exporter and multiple namespaces

That can happen if you never bother to define a csErrorClass routine inside of the module. Exporter will happily export non-existant functions making entries in your symbol table that point to non-existant functions.

        - tye (but my friends call me "Tye")
  • Comment on (tye)Re: exporter and multiple namespaces

Replies are listed 'Best First'.
Re: (tye)Re: exporter and multiple namespaces
by Anonymous Monk on May 02, 2001 at 02:48 UTC
    That's true. And it's easy to create spurious typeglobs even without Exporter's help, so looking at the keys of the %csDB:: symbol table doesn't tell all. The proper way to tell if a function is defined is with defined(&some_func).
Re: (tye)Re: exporter and multiple namespaces
by AidanLee (Chaplain) on May 02, 2001 at 01:39 UTC
    and if it IS defined? It's an interesting fact I'll keep in mind, but unfortunately does not seem to be the case.