perl5ever has asked for the wisdom of the Perl Monks concerning the following question:
I know that &f and &f() are different in that the first call doesn't change @_ whereas the second call sets @_ to the empty list.
What about $obj->method v.s. $obj->method()? Are there any differences between the two calls?
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: $obj->method v.s. $obj->method()
by moritz (Cardinal) on May 09, 2009 at 11:05 UTC | |
by perl5ever (Pilgrim) on May 09, 2009 at 15:09 UTC | |
Re: $obj->method v.s. $obj->method()
by Burak (Chaplain) on May 09, 2009 at 04:02 UTC | |
by AnomalousMonk (Archbishop) on May 09, 2009 at 05:13 UTC | |
by ikegami (Patriarch) on May 09, 2009 at 16:24 UTC | |
by Burak (Chaplain) on May 09, 2009 at 15:08 UTC | |
by Your Mother (Archbishop) on May 09, 2009 at 16:41 UTC | |
by Burak (Chaplain) on May 09, 2009 at 17:03 UTC | |
| |
by JavaFan (Canon) on May 09, 2009 at 18:38 UTC | |
by Burak (Chaplain) on May 09, 2009 at 18:45 UTC | |
Re: $obj->method v.s. $obj->method()
by Bloodnok (Vicar) on May 10, 2009 at 00:48 UTC | |
by lodin (Hermit) on May 12, 2009 at 00:35 UTC |
Back to
Seekers of Perl Wisdom