What did you expect?
Perl evaluates the arguments to all calls to print from leftmost-innermost to right. So it first prints the 7, then prints the result from the print function +10.
In reply to Re: logic behind the print function
by Corion
in thread logic behind the print function
by perlsaran
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |