> >      foo($x ||= 10, $y ||= 20);
> 
> That already has a meaning ...  I tend to favor syntax that doesn't
> already have meaning 

It does have meaning, but I think that's a plus. Currently, it doesn't
actually do anything (even in 5.6):

perl -e '
  sub foo ($x ||= 20) {     
      print "x = $x\n";
  }
  &foo;
'
x =

Making this do something useful seems the best way to make it easily
accessible. Plus, it reserves :=, :, and all the others for other
possible uses.

-Nate

Reply via email to