that is either a bug, or you're not using the module code you've
shown above.
try to make sure you're using exactly that module (by adding
a print into the module body).
or do this:
in the script, and tell us the full path of CWI/Message.pm and
if there are any other CWI/Message.pm files lying around your
file system.
another question, what happens if you explicutly use
use CWI::Message qw(get_msg);?
Comment on Re: Simple module crashes on remote server
"or you're not using the module code you've shown above"
Spot on! I had tried to replicate the structure on my local m/c and not tried hard enough. An older module was being ftped. You're debug tips revealed it straight away.
Many thanks,
wfsp (feeling very foolish)
Now, those head shaped dents in the wall...