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


in reply to reverse function

This is a simple RTFM. Do 'perldocs -f reverse' and just read the second sentence where you are told what reverse does in scalar context

Replies are listed 'Best First'.
Re^2: reverse function
by Anonymous Monk on Jun 29, 2012 at 12:18 UTC

    Right , like perldoc -f reverse says

    print join(", ", reverse "world", "Hello"); # Hello, world
    print scalar reverse "dlrow ,", "olleH"; # Hello, world

     <tt><b>[doc://perldoc]</b> -f [doc://reverse]</tt> says