On 2/16/06, Ken Perl <[EMAIL PROTECTED]> wrote:
> what is the difference of :: and -> in this statements?
>
> $authInstance = 
> Operation::Auth::getInstance($session,$u->authMethod,$u->userId)
>
> $authInstance = 
> Operation::Auth->getInstance($session,$u->authMethod,$u->userId)
>
> --
> perl -e 'print unpack(u,"62V5N\"FME;G\!E<FQ`9VUA:6PN8V]M\"[EMAIL PROTECTED]
> ")'

What is passed to getInstance.  The -> syntax passes the class name as
the first argument.

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to