in reply to Re: Question about __PACKAGE__
in thread Question about __PACKAGE__
However, if I call this line:__PACKAGE__->hello('test1'); Foo->hello('test2'); hello(__PACKAGE__, 'text3'); hello('Foo', 'text4');
one object will be created. Am I right so far?Foo->new()->hello('test5');
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Question about __PACKAGE__
by ikegami (Patriarch) on Jan 22, 2010 at 07:15 UTC | |
|
Re^3: Question about __PACKAGE__
by gam3 (Curate) on Jan 22, 2010 at 12:24 UTC |