> > Perl used to use $pkg'var instead of the modern $pkg::var. This is still
> > in Perl 5. It's gotta go.
> 
> Aside from "its old", is there any particular reason why $pkg'var
> should go?

"use D'oh" will be missed :-), but sometimes legacy stuff needs to be
expunged to get people to modernize. 

I know this sounds "un-Perl", but Camel-3 doesn't even mention $pkg'var
as more than a footnote, at least not that I could see. If it's not
going to be taught or used in any modern code, then having Perl 6
silently accept:

   $pkg'var = 1;

is very confusing. Plus, ' is already widely-used as a single-quote, so
I ask you, my fellow countrypersons, would either of these make any
sense:

   $pkg"var = 1;
   print ::Welcome back, $fullname!::;

But the RFC is frozen, and Larry can always decide that D'oh and
Klingon.pm are compelling reasons to keep it. ;-)

-Nate

Reply via email to