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.
In reply to Re: Re: A Perl aptitude test
by parv
in thread A Perl aptitude test
by Jonathan
For: | Use: | ||
& | & | ||
< | < | ||
> | > | ||
[ | [ | ||
] | ] |