in reply to Re: Re: Re: (tye)Re: Aliasing Variables
in thread Aliasing Variables

> Is this an existing CPAN thing, or did you just make it?

Just a hack for a minute :)
my $x = aliasOf($self->{x}) or my($a, $b, $c) = member_alias ... won't work well, I guess.

Mine just works because of magical (pollutional) tie'ing using @_s.

--
Tatsuhiko Miyagawa
miyagawa@cpan.org

Replies are listed 'Best First'.
Re: Re: Re: Re: Re: (tye)Re: Aliasing Variables
by John M. Dlugosz (Monsignor) on Jul 23, 2001 at 23:49 UTC
    OK, how about something like:
    member_alias ($self, qw/a b c/, my($a, $b, $c));