in fact the p5p archive contains a lot of notes in the direction of implementing references as l-values.
How hard would it be to change the scope of changes to $\ so the AAAD problem goes away? Could the syntax be my $\ = "\n" after which C<print> takes $\ from the caller's pad instead of from the symbol table? Currently this error is generated: Can't use global $\ in "my" at -e line 1, near "my $\ " Could an exception be made? On Fri, 11 Mar 2005 10:51:31 +0000, Nicholas Clark <[EMAIL PROTECTED]> wrote: > On Fri, Mar 11, 2005 at 11:44:22AM +0100, Rafael Garcia-Suarez wrote: > > Nicholas Clark wrote: > > > New features are possible. I'd quite like to be able to bind in Perl 5. > > > > Wasn't there a proposal for : > > my \$a = \$b; > > although I don't know what you call "binding" exactly. > > That was the one. Assigning references to references currently isn't > valid syntax, but the underlying Perl core API supports it, so it wouldn't > be that hard to implement. Even things like \($a[2]) = \$b are viable. > > Nicholas Clark > -- David L Nicol You have the right to free speech (as long as you're not dumb enough to actually try it!) -- The Clash (know your rights)
