What does -> operator do in Perl?

operators, perl

Solution

In this case, the `->` (arrow operator) indicates an object method call - the `doSomething()` method of the object `$sftp` is being called.

Problem

Possible Duplicate: What does the -> arrow do in Perl? I do not have Perl experience and I need to read some scripts. I could not find the explanation for '->' operator. Can you explain what does '->' operator do in this line? ``` $sftp->doSomething( $sPerson, $sCredentials ) ```

Original source

Related problems