http://www.perlmonks.org?node_id=990948


in reply to Use of uninitialized value $site in concatenation (.) when excute the perl script

Line 13 is where you set the variable $a (choose another name by the way), and you concatenate the variable $site with a newline.
-> There is something wrong with the $site variable, thus with your input(Logfile). Check it.

I'm too lazy to be proud of being impatient.
  • Comment on Re: Use of uninitialized value $site in concatenation (.) when excute the perl script
  • Download Code