I am new to perl scripting. I am having a problem when there is a null in my array. The array is created from a text file and sometimes the field (place holder 5 in the array) is blank. When I use the length function on the blank $day[5] Perl returns nothing. The ELSE part of the IF statement does not work. It returns nothing instead of printing "00:00:00". I have tried a number of things and still do not get it. Thank you for your help.