in reply to Re: $1 not "freezing" in an addition
in thread $1 not "freezing" in an addition
ok I added the whole code
PS. Modifying your code, here is a simple version that reproduces the error:
sub butter { my $_ = shift; return $1 + butter($_) if s/(\d+)//; return 0; } print butter 'effect / 7ACV06';
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^3: $1 not "freezing" in an addition
by Anonymous Monk on Dec 14, 2012 at 14:30 UTC | |
by tobyink (Canon) on Dec 14, 2012 at 14:57 UTC | |
by grondilu (Friar) on Dec 14, 2012 at 15:36 UTC | |
by tobyink (Canon) on Dec 14, 2012 at 16:03 UTC | |
by Anonymous Monk on Dec 14, 2012 at 16:14 UTC | |
by chromatic (Archbishop) on Dec 14, 2012 at 18:10 UTC | |
by Anonymous Monk on Dec 15, 2012 at 08:40 UTC | |
|
In Section
Seekers of Perl Wisdom