Hi, I'm a newbie to perl and am having trouble with list vs scalar.
There is
an example in Programming Perl where an object is blessed and returned
from its constructor as:
                        return bless \$value => $class;
I am very unclear what is happening here. The class name is returned
but
exactly how are the $value reference and $class related?
TYIA, blawson


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to