16 lines
266 B
Perl
16 lines
266 B
Perl
|
#!/usr/bin/perl
|
||
|
use warnings;
|
||
|
use strict;
|
||
|
my $stopnow = 0;
|
||
|
until ($stopnow) {
|
||
|
$_ = <STDIN>;
|
||
|
chomp;
|
||
|
if ($_) {
|
||
|
my $sdrawkcab = reverse $_;
|
||
|
print "$sdrawkcab\n";
|
||
|
} else {
|
||
|
$stopnow = 1;
|
||
|
}
|
||
|
}
|
||
|
print "!enod llA\n";
|