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

Re: Adverbs

Thread Previous | Thread Next
Damian Conway
April 24, 2006 21:27
Re: Adverbs
Message ID:
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.


Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About