On Tuesday 07 June 2005 12:44 pm, radhika wrote: > I am learning about perl modules and am having a little trouble > understanding the "blessing" of an object. For instance: > bless($self, $type); > What does this do? > > Thanks, > rs. > > -- > It's all a matter of perspective. You can choose your view by choosing > where to stand. > Larry Wall > --- I am a newbie myself but as far as I know blessing actually registers the current object with perl. This allows for inheritance and instances of the object to be created. Also for methods to act on this newly registered(blessed) object.
PerlNewbie.... -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>