Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Code with STDIN

package MyEcho;
use strict;
use warnings;

use Exporter qw(import);

our @EXPORT_OK = qw(echo);

sub echo {
    my $name = <STDIN>;
    return scalar reverse $name;
}
use strict;
use warnings;
use 5.010;

use MyEcho qw(echo);

say echo();
perl -Ilib bin/echo.pl