Using my $line = <FH> means $_ never gets set so your next line needs to now be $line=substr($line,1);
In reply to Re^3: foreach type of deal? by huck in thread foreach type of deal? by hoagies