in reply to Simple module crashes on remote server

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:
print join "\n", @INC; print "$INC{'CWI/Message.pm'}\n";

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);?

Replies are listed 'Best First'.
Re^2: Simple module crashes on remote server
by wfsp (Abbot) on Jul 13, 2004 at 12:04 UTC
    "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...