Beefy Boxes and Bandwidth Generously Provided by pair Networks Ovid
The stupid question is the question not asked
 
PerlMonks  

Re: print subroutine name calls subroutine but with appended 1 number to the output

by jwkrahn (Prior)
on May 01, 2012 at 18:27 UTC ( #968316=note: print w/ replies, xml ) Need Help??


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.


Comment on Re: print subroutine name calls subroutine but with appended 1 number to the output
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://968316]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (8)
As of 2013-06-19 04:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many continents have you visited?









    Results (642 votes), past polls