http://www.perlmonks.org?node_id=507460


in reply to Why the print is not working

In addition:

print+(reverse split "", "dog"), "\n"


Replies are listed 'Best First'.
Re^2: Why the print is not working
by eric256 (Parson) on Nov 10, 2005 at 17:07 UTC

    Maybe a little clearer print '' . (reverse 'dog')


    ___________
    Eric Hodges $_='y==QAe=e?y==QG@>@?iy==QVq?f?=a@iG?=QQ=Q?9'; s/(.)/ord($1)-50/eigs;tr/6123457/- \/|\\\_\n/;print;