Re: what is $self->verbose

2002-10-10 Thread Jenda Krynicky
From: Michael Fowler <[EMAIL PROTECTED]> > On Thu, Oct 10, 2002 at 08:27:27PM +0200, Jenda Krynicky wrote: > > It's the reference that's blessed. > > It's the referent that's blessed. > > For example: > ... Oops. Sorry you are right. Jenda === [EMAIL PROTECTED] == http://Jenda.Krynicky

Re: what is $self->verbose

2002-10-10 Thread Michael Fowler
On Thu, Oct 10, 2002 at 08:27:27PM +0200, Jenda Krynicky wrote: > It's the reference that's blessed. It's the referent that's blessed. For example: #!/usr/bin/perl -w use strict; my $s= 10; my $obj1 = \$s; bless($obj1, "Foo"); $obj1->foo();# prints "I am foo(

RE: what is $self->verbose

2002-10-10 Thread Jenda Krynicky
From: [EMAIL PROTECTED] (Peter Scott) > 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 objec

RE: what is $self->verbose

2002-10-10 Thread Peter Scott
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 bl

RE: what is $self->verbose

2002-10-09 Thread nkuipers
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. So $self->verbose is indeed calling a method on the object using the indirect syntax, though whether or not this m

what is $self->verbose

2002-10-09 Thread stanley
from some modules,i found this expression " if ($self->verbose) ". is this verbose is a special method or something else? thanks - Do you Yahoo!? Faith Hill - Exclusive Performances, Videos, & more faith.yahoo.com