> > But why introduce a new keyword "lreturn"?  What about something like
   > > this?
   > > 
   > >  sub foo {
   > >      my $lvalue : lvalue;
   > >      ...
   > >      return $lvalue if want('LVALUE');
   > >  }
   > 
   > Error proneness?  (Is that a word?)

It is now :-)

Besides, context can't always tell:

        bar ( foo );

Should foo return a copy or an alias?

Damian

Reply via email to