Hello Dave, Thanks for detailed explanation. "The sixth line checks to see if $a is less than $b. It should output the content of @x" I'm newbie, as per my understanding here after expression evaluation @x will be assigned to $var in scalar context and print the no of elements in the array, however it is printing content of array.
In reply to Re^2: Perl interpretor for conditional operator "?"
by yramesh.1981
in thread Perl interpretor for conditional operator "?"
by yramesh.1981
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |