in reply to
Syntax used by SOAP::Lite
Your intuition is right, it is indeed used for dereference. All the methods called return the object itself, on which the dereference is called. This is "method call chaining" which allows compact code.
Comment on
Re: Perl syntax question
Replies are listed 'Best First'.
Re^2: Perl syntax question
by
Anonymous Monk
on Jun 03, 2005 at 08:07 UTC
While $obj is a reference, there is no dereferencing going on.
[reply]
Re^3: Perl syntax question
by
spurperl
(Priest)
on Jun 03, 2005 at 08:21 UTC
Sorry, I don't understand. The OP didn't refer to any $obj - what do you mean ?
[reply]
In Section
Seekers of Perl Wisdom