Re: newbie question about Sys::Hostname and modules in general

2002-08-02 Thread drieux
On Friday, August 2, 2002, at 08:09 , Chad Kellerman wrote: [..] > ** I always have issues with scope Can I use Sys::Hostname just in > the subroutine, or any perl module for that matter? Or do I have to use > it globally? > > $host=hostname; finds that daggone hostname and I have hostname

newbie question about Sys::Hostname and modules in general

2002-08-02 Thread Chad Kellerman
Hello, Ok, I made a newbie mistake and I hope I don't have to go back and change my code. I wrote a script that talks to a Mysql database. I created a table called hostname. I created a subroutine to send email messages when that is any errors as well as log them to the db. Problem is