Your skill will accomplish what the force of many cannot |
|
PerlMonks |
Re: Three argument version of open '>-' (de-critic)by LanX (Saint) |
on Mar 02, 2021 at 02:16 UTC ( [id://11128977]=note: print w/replies, xml ) | Need Help?? |
> Perl::Critic complains about it and wants us to replace it with a three argument variant. But, what's the 3-arg variant of >-? From a pragmatic point of view, I'd say: Adjust the Perl::Critic rule! I mean it's an interesting question, but probably it's not possible to duplicate all these exact implementation details. This particular 2 args syntax OTOH is documented and legit.
Cheers Rolf
updateand by all communist gods, why would you like to have a duplicate of STDOUT which fails globally without warning? Probably this feature is simply broken.
In Section
Seekers of Perl Wisdom
|
|