On Wed, Oct 16, 2002 at 11:52:44PM +0200, Paul Johnson wrote:
> The constructor, then blesses $name into the class "Horse", or more
> accurately, blesses a reference to $name.

You were right the first time; bless blesses $name.  You have to pass a
reference so bless can modify the original variable.

Otherwise it was a good analysis.


Michael
--
Administrator                      www.shoebox.net
Programmer, System Administrator   www.gallanttech.com
--

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

Reply via email to