Jacob Chapa wrote:

> what does bless do?

It gives the hash reference offered as the first argument access to the methods
of the package named by the second argument.  there is more, but this is an
alright place to start.

The effect is to turn the hash reference into an object reference.  Ideally,
class users should not ever have to access the hash elements directly, and
should instead use these class methods to query or modify attributes of the
object, or to carry out its functions.

perldoc -f bless
perldoc perlreftut
perldoc perlref
perldoc perlobj
perldoc perlmod

Joseph



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to