Dan Sugalski wrote:
> >         assoc( %h, 'foo', 'bar' );
> 
> Because it's conceptually clearer. You've more clues to what's going 
> on--the syntax is rather specific, and more distinct. The function call 
> method's much more general, and has fewer contextual clues as to what it's 
> doing.

Generality good.  Besides,

        $h assoc 'foo' => 'bar';

if one were inclined to exploit the indirect object syntax.
(And assuming highlander types...)

-- 
John Porter

Reply via email to