Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] writes:
As I've said before, Perl supports `alias`--it's just spelled `:=`.
Here's a rubyish idiom:
my old_behaviour := function;
function := sub { try_some_stuff || old_behaviour }
Except, with binding it doesn't work like that, you end up with
Piers Cawley skribis 2005-06-23 15:30 (+0100):
Brent 'Dax' Royal-Gordon [EMAIL PROTECTED] writes:
As I've said before, Perl supports `alias`--it's just spelled `:=`.
Here's a rubyish idiom:
my old_behaviour := function;
function := sub { try_some_stuff || old_behaviour }
Except, with
Hi,
Juerd juerd at convolution.nl writes:
Piers Cawley skribis 2005-06-23 15:30 (+0100):
Brent 'Dax' Royal-Gordon brentdax at gmail.com writes:
As I've said before, Perl supports `alias`--it's just spelled `:=`.
Here's a rubyish idiom:
my old_behaviour := function;
Luke Palmer [EMAIL PROTECTED] writes:
On 6/20/05, chromatic [EMAIL PROTECTED] wrote:
On Mon, 2005-06-20 at 12:11 +0200, Juerd wrote:
I think there exists an even simpler way to avoid any mess involved.
Instead of letting AUTOLOAD receive and pass on arguments, and instead
of letting
The Perl 6 summary for the fortnight ending 2005-06-21
Surprise! It's me again. You may be wondering what happened to last
week's summary (I know I was) and where Matt had gone. Well, I'm not
entirely sure where exactly he is now, but last week was moving week for
him.
Those
The Perl 6 summary for the fortnight ending 2005-06-21
Surprise! It's me again. You may be wondering what happened to last
week's summary (I know I was) and where Matt had gone. Well, I'm not
entirely sure where exactly he is now, but last week was moving week for
him.
Those
Piers Cawley wrote:
Here's a rubyish idiom:
my old_behaviour := function;
function := sub { try_some_stuff || old_behaviour }
Except, with binding it doesn't work like that, you end up with an infinite
loop.
But this version *should* work correctly:
# Bind the name