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


in reply to Re: A Perl aptitude test
in thread A Perl aptitude test

Similarly, in #5, I'd also ask for an explanation of $var = @array;, and for a comparison between the two.

Thanks Aristotle; you induced self doubt there given that i was also thinking of the value of a list being evaluted in scalar context.

So i suppose, OP could add/replace a question something like..

What are the values of $x and $y below? @odd = (1,3); $x = @odd; $y = (1,3);

...I feel much better now after consulting w/ perl.