in reply to Re: using subs in Log4perl config file
in thread using subs in Log4perl config file

Hello saintmike,
OK, point one I'll correct now.
I'm sitting here with the L4P doc's and FAQ and I must be blind or something...
Anyway, thanks!

Point 2, I've tried to explicitly state SomePackage::getCLI_Logfile() in the config, and it still bombs.
  • Comment on Re^2: using subs in Log4perl config file

Replies are listed 'Best First'.
Re^3: using subs in Log4perl config file
by saintmike (Vicar) on Oct 22, 2004 at 22:29 UTC
    Then you've either got a typo in the call to the function or you didn't pull in the package ("use SomePackage") it is contained in before calling init(). What's the error message?
      Hey saintmike, sorry for the delay in responding to your reply. Anyway, took your ideas and applied them. Looks to work just fine! Thanks for your help!