in reply to Mail::Mailer and default value of $server?
I suppose you could try localhost, but that could be dangerous. In my experience, it's best to be as clear as possible.
It might be wiser to store the name of your server in a private configuration file and then load that into a scalar before calling Mail::Mailer. I've used that approach before and it makes things easier to maintain in my book. (YMMV)
You may find AppConfig (alt.) helpful.
--f
|
|---|