in reply to $1 not "freezing" in an addition
Prove it :)
$ perl -Mstrict -Mwarnings -l junk 13 $ cat junk sub butter { local $_ = 'effect / 7ACV06'; return $1 + junk($_) if s/(\d+)//; } sub junk { local $_ = $_[0]; return $1 if s/(\d+)//; } print butter(); $
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: $1 not "freezing" in an addition
by grondilu (Friar) on Dec 14, 2012 at 12:40 UTC | |
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 | |
|