There's more than one way to do things | |
PerlMonks |
comment on |
( [id://3333]=superdoc: 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 reply to Re: Three argument version of open '>-' (de-critic)
by LanX
|
|