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
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(
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
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
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
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