develooper Front page | perl.perl6.language | Postings from June 2005

Re: proposal: binding with a function

Thread Previous | Thread Next
From:
=?ISO-8859-1?Q?B=C1RTH=C1ZI_Andr=E1s?=
Date:
June 15, 2005 01:54
Subject:
Re: proposal: binding with a function
Message ID:
42AFECB3.5070405@barthazi.hu
Hi,

Carl Franks wrote:
>>:   alias newlines, newline;
> 
> Isn't it possible to add a Role to the relevant Class, which specifies
> that is 'handles' the method name you want as an alias?

If it's possible, it would be fine for me in this particular case. Is it 
possible?

Anyway, IMHO this alias function can be useful in other cases, too.

Bye,
   Andras

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About