Skip Menu |

This queue is for tickets about the Lexical-Alias CPAN distribution.

Report information
The Basics
Id: 20813
Status: new
Priority: 0/
Queue: Lexical-Alias

People
Owner: Nobody in particular
Requestors: ac0v [...] sys-network.de
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in:
  • 0.02
  • 0.03
  • 0.04
Fixed in: (no value)



Subject: Syntax for building aliases
Hi, it would be nice if Lexical::Alias could be used with the following Syntax: my $bar = q{}; alias my $foo = $bar; I think this would improve the readability of an alias. Another advantage would be an easier switching between alias and none alias vars. eg. my $foo = $bar; # default without an alias alias my $foo = $bar; # ok, let's switch to an alias But the most significant advantage (and the true reason for this wishlist requirement) would be the resulting compatibility to Data::Alias, which has been recommended by Conway in "Perl Best Practices", but which - unfortunately - does not work under Win32. Lexical::Alias does, and with this enhancement, it could replace Data::Alias completely. Greetings, Andreas 'ac0v' Specht