In article <[EMAIL PROTECTED]>,
 [EMAIL PROTECTED] (Nkuipers) writes:
>Supplying module names makes answering it easier to give a better answer.  
>Idiomatically, $self usually refers to the scalar being blessed into a class, 
>in other words, an object. 

Actually, it is not the scalar that is blessed into the class, but the data
that it references.

> So $self->verbose is indeed calling a method on 
>the object using the indirect syntax, 

No, "indirect syntax" would be "verbose $self".

>though whether or not this method is an 
>instance method or optionally also a class method can't be said with certainty 
>from the one line of code you gave.  

True, but it would be really weird and reprehensible for someone to put a 
string into something called $self.

-- 
Peter Scott
http://www.perldebugged.com

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

Reply via email to