What you are effectively doing is:
print print "hello";
The first print prints the string "hello" and the second print prints the return value of the first print which is 1.
In reply to Re: print subroutine name calls subroutine but with appended 1 number to the output
by jwkrahn
in thread print subroutine name calls subroutine but with appended 1 number to the output
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |