View Single Post
  #4 (permalink)  
Old 03-01-2008, 01:30 AM
KevinADC KevinADC is offline
Learning Programmer
 
Join Date: Jan 2007
Posts: 91
Credits: 4
Rep Power: 7
KevinADC is on a distinguished road
Default

Are you blind like me?

if (test0 < 1)

Well, even though I am blind I can see that "test0" is not a scalar, and you have that same mistake elsewhere in your script (test).

use the warnings pragma with all your perl scripts:

use warnings;

it would have alerted you to these mistakes
Reply With Quote