dagolden / Capture-Tiny

(Perl) Capture STDOUT and STDERR from Perl, XS or external programs
http://search.cpan.org/dist/Capture-Tiny/
39 stars 19 forks source link

avoid shadowing variable in _relayer #51

Closed haarg closed 7 years ago

haarg commented 7 years ago

Use a different variable name for the layers to apply from the layers being removed in _relayer. This makes the code more readable.

As a side benefit, it avoids a bug in Devel::CallParser that will break the shadowed variable on threaded perls.