in reply to Re: Any suggestions on cleaning up a module for submission to CPAN?
in thread Any suggestions on cleaning up a module for submission to CPAN?

Do you mean instead:

require SomeLogger;

... in the eval block? I'm not sure whether you intended a conditional load.

  • Comment on Re^2: Any suggestions on cleaning up a module for submission to CPAN?
  • Download Code

Replies are listed 'Best First'.
Re^3: Any suggestions on cleaning up a module for submission to CPAN?
by imp (Priest) on Sep 01, 2006 at 01:40 UTC
    Aye, that was my intent.
    eval { require SomeLogger; $self->{LOGGER} = SomeLogger->new(); };