[% setvar title Remove "In string @ must be \@" fatal error %]
To see what is currently happening visit http://www.perl6.org/
Remove "In string @ must be \@" fatal error
Maintainer: Nathan Wiger <firstname.lastname@example.org> Date: 15 Aug 2000 Last-Modified: 16 Sep 2000 Mailing List: email@example.com Number: 105 Version: 2 Status: Frozen
Currently, if you write:
$email = "firstname.lastname@example.org";
You get a fatal error:
In string, @wiger now must be written as \@wiger
This should be removed altogether in Perl 6.
This is something that was put in to catch Perl 4 to Perl 5 migration. Perl 6 shouldn't need it, and should just assume that "@wiger" is an array, even if it's unitialized. This is what it does for all the other data types.
As Randal noted, this whole RFC is probably better phrased as:
array interpolation should work exactly like scalar interpolation
And I agree.
People that are relying on this to catch sloppy coding should be beaten.
Remove the error altogether. Perl 5's been out for years.