in reply to Re^3: Monkey patching all subs with a basic 'starting subname' message
in thread Monkey patching all subs with a basic 'starting subname' message
> Not sure what this "meat" is supposed to mean (?)
In this case, meat == "majority". As in, what was...
*$_ = sub { __dbg { "Starting ${package}::${fname}(", join(',', @_), ')' } 4; my @ret = $fn->(@_); };
...now becomes...
*$_ = eval qq{sub $proto { __dbg { "Starting ${package}::${fname}(", join(',', \@_), ')' } 4; my \@ret = \$fn->(\@_); }};
The eval of an escaped+interpolated string is now just as worrying as the other stuff I was worried about!
All of which, I'm sure, is the least of my worries!
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^5: Monkey patching all subs with a basic 'starting subname' message
by LanX (Saint) on Jul 17, 2017 at 20:18 UTC | |
by Anonymous Monk on Jul 18, 2017 at 12:04 UTC | |
by LanX (Saint) on Jul 18, 2017 at 13:44 UTC | |
by Anonymous Monk on Jul 19, 2017 at 13:04 UTC | |
by Corion (Patriarch) on Jul 25, 2017 at 12:05 UTC |