In article <[EMAIL PROTECTED]>, Paul
Johnson wrote:

> 
> Kevin Pfeiffer said:
[...]
>> You'll see there is a "1" after the 'speak' routine's output (each time).
>> I can't see where the "1" comes from.
> 
> Your speak method prints something and returns true if it is successful
> (the print being the last statement in the method so its return value is
> returned from the method).  You then print that value, which happens to be
> 1.

print $kevin->cries_out("Aaaaaaaahhhhh...") 

~/-> "Aaaaaaaaaaahhhhh..."
~/-> 1

(And he runs off into the street screaming and hitting himself on the head)

Thanks, Paul!  :-)

-- 
Kevin Pfeiffer
International University Bremen
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to