in reply to Re: Re: How to reverse a string *revisited*
in thread How to reverse a string *revisited*

There is no such thing as array context, that's a list in scalar context ;)

There's no such this as a list in scalar context. ;-)

From perlop - Comma Operator:

Binary ``,'' is the comma operator. In scalar context it evaluates its left argument, throws that value away, then evaluates its right argument and returns that value.
In list context, it's just the list argument separator, and inserts both its arguments into the list.
ihb