while (defined(my $line = <$in>)) { chomp $line; # Zap trailing "\n" efficiently print $out $line,"\r"; }
"If it happens once, it's a bug. If it happens twice, it's a feature. If it happens more than twice, it's a design philosophy."
In reply to Re^2: Why Is Writing to a Binary File so Hard?
by NetWallah
in thread Why Is Writing to a Binary File so Hard?[SOLVED]
by jmlynesjr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |