I am not sure if this is a perl problem or (more likely I guess) a Windows issue.
I am running Strawberry perl 5.12.3. My code has a "require 'common.pl';" statement in it containing useful (to me) functions and routines that I call in all/most of my programs, declared as a package.
If I run the proggie
D:/pearls/> perl check_email.pl an@email.address
All is well and it runs fine. And fast. Lovely.
But
D:/pearls/> check_email.pl an@email.address
Undefined subroutine log_exit at line 51...
log_exit is declared (as a main::) subroutine in my require'd package. Can someone explain this to me please? Once I understand why I have this issue, I can work out what I want to do about it.
I am running this under 32-bit Win7 by the way, if that has any impact on the problem.
Cheers
Bill