-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Matt Diephouse wrote: | While working out some bugs in ParTcl I came across something roughly | equivalent to the following Perl code (I'm using Perl because I | believe more people know Perl than Tcl, at least on this list): | | #!/usr/bin/perl | $var = "Foo"; | *alias = *var; | $alias = undef; | $alias = "Baz"; | print $var, "\n";
On a somewhat related note, I'd very much like the ability for two LexInfo names to point to the same underlying register, as it would make certain Perl6isms easier ($!foo vs $foo, for example). Leo explained on #parrot a while ago that there's nothing architecturally forbidding it, but the current implementation uses a 1:1 mapping for simplicity. Is it possible to get a 1:N mapping from registers to names? Audrey -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDotUwtLPdNzw1AaARAnuGAKCdi6+oWlJl/ZggpG8/4FMRq6OKzgCgjvn3 U/WSA4/dgLfBQMIFHze4grc= =8TDb -----END PGP SIGNATURE-----