$/="\n\n"; #set the input Record seperator to a double newline while () { next if /^\n+$/; #ignore lines which contains only newlines print "Checkbox $_ \n #print the textblock with an ... print #apending darkline     \n"; } close FH; ----------------------------------- --the good, the bad and the physi-- -----------------------------------