in reply to print subroutine name calls subroutine but with appended 1 number to the output
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.
|
|---|