NAME
Lexical::Alias - Perl extention to declare lexical aliases
VERSION
This document describes Lexical::Alias version 0.01.
SYNOPSIS
use Lexical::Alias;
sub inc{
my alias $x = shift;
$x++;
return;
}
my $i = 0;
inc($i);
print $i, "\n"; # => 1
DESCRIPTION
Lexical::Alias allows you to declare lexical aliases, re-using typed lexical
syntax.
GUTS
This module uses a custome peephole optimizer to change compiled syntax trees.
See also "Custome Operators" in perlguts.
DEPENDENCIES
Perl 5.8.1 or later, and a C compiler.
BUGS
No bugs have been reported.
Please report any bugs or feature requests to the author.
SEE ALSO
"lexical aliases" in perltodo.
AUTHOR
Goro Fuji (gfx) <gfuji(at)cpan.org>.
LICENSE AND COPYRIGHT
Copyright (c) 2009, Goro Fuji (gfx). Some rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.