11 lines
142 B
Perl
11 lines
142 B
Perl
|
#!/usr/bin/perl -w
|
||
|
|
||
|
use strict;
|
||
|
|
||
|
while (<STDIN>) {
|
||
|
last if $_ eq "done\n";
|
||
|
print "You entered: $_";
|
||
|
}
|
||
|
|
||
|
print "All done!\n";
|