list.txt
abc:123
aiu:456

1.
open(IN, "list.txt");
while (<IN>) { print; }
close(IN);

2.
open(IN, "list.txt");
while (<IN>) {
$tmp = <IN>;
print "$tmp<br>\n";
}
close(IN)


1.だと abc:123 aiu:456 と出力されるのに
2.だと abc:123 としか出力されないのはどうしてでしょうか、、?