develooper Front page | perl.perl6.language | Postings from April 2006

Re: Adverbs

Thread Previous | Thread Next
From:
Damian Conway
Date:
April 24, 2006 21:27
Subject:
Re: Adverbs
Message ID:
444DA520.300@conway.org
One other point:

>   act $foo, @list, bar => 'baz';

is actually the same as:

     act($foo, @list, bar => 'baz');

which might or might not dispatch to a method on $foo,
depending on whether (and how) &act is defined.

Jonathan probably meant:

     act $foo: @list, bar => 'baz';

for the indirect object syntax.

Damian

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About