#!/usr/bin/perl <>; while($line = <>) { print if defined; $_ = $line; } #### #!/usr/bin/perl <>; while(<>) { last if eof; print; }