programming-examples/perl/Statement/Use while loop to read console input.pl
2019-11-15 12:59:38 +01:00

8 lines
71 B
Perl

while ($_ = <>) {
print $_;
}
while (<>) {
print;
}