in reply to Re^2: reverse is not reversing
in thread reverse is not reversing

No, it will reverse "apple" into "elppa", but only in scalar context. Read more about context in the book Modern Perl.

Update: Fixed the book title. Thanx LanX.

($q=q:Sq=~/;[c](.)(.)/;chr(-||-|5+lengthSq)`"S|oS2"`map{chr |+ord }map{substrSq`S_+|`|}3E|-|`7**2-3:)=~y+S|`+$1,++print+eval$q,q,a,

Replies are listed 'Best First'.
Re^4: reverse is not reversing
by LanX (Saint) on Nov 26, 2018 at 15:32 UTC
    > in the book Moder Perl

    Molder Perl? ;-p

    Cheers Rolf
    (addicted to the Perl Programming Language :)
    Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        Molder and Skully Perl, you mean?

        Cheers Rolf
        (addicted to the Perl Programming Language :)
        Wikisyntax for the Monastery FootballPerl is like chess, only without the dice

        PS: Moulder in BE.