in reply to Re: scalar context confusion
in thread scalar context confusion

In scalar context "@list" evaluates to the number of elements in @list.

I had to view source to see that your quotation marks were outside your code tags. A casual reader might have thought you meant

In scalar context "@list" evaluates to the number of elements in @list.

which would have been incorrect, since in scalar context "@list" (quotes in the expression) evaluates to

malay manab milan anand

Replies are listed 'Best First'.
Re^3: scalar context confusion
by chromatic (Archbishop) on Feb 28, 2008 at 18:57 UTC
    since in scalar context "@list" (quotes in the expression) evaluates to

    Where do you see scalar context in that expression? In scalar context, a string evaluates to a string, because it's a scalar.