Alternatively you could write a function that returns the message:
use MyMsg; # exports get_message.
my $msg = get_message( 'cracker' );
This way you could build goodies into the function that allows clever stuff to happen - such as checking which language to return the message in - not to mention croaking if you ask for a message that does not exist.
It would also make sense to store your messages centrally in an XML or YAML file as suggested above.
--tidiness is the memory loss of environmental mnemonics