in reply to need a clearer understanding
If my guess is correct it means exactly the same as the same code in the while ($line = <$IFH>){ line that surrounds the read.if($tmp[0] eq ">") { my $nm = substr($line,1); $nm = $nm . $tot; $tot++; $line = <$IFH>; #IS THIS THE LINE YOU MEANT ? chomp $line; $ret{$nm} = $line; }
It reads the next line into the $line variable (If not end of file) within a block which is only run if the previous line began with a ">" character.
|
|---|