|There's more than one way to do things|
Re^7: Split tab-separated file into separate files, based on column name ( Operator overloading )by LanX (Sage)
|on Aug 27, 2020 at 10:38 UTC ( #11121125=note: print w/replies, xml )||Need Help??|
Operator overloading is great, I'm not against it per se.
But it's a two-edged sword which should be handled with care.
Overloading an operator because it looks like another syntax is not a good idea ( here >> )
A good example for overloading are set operations, because the logic is "compatible".
Bitwise ~ | & ^ etc. might be another option tho ... and the analogy between sets and bit vectors might help.
Found Set::Scalar which has a good set of overloaded operators.
In Section Seekers of Perl Wisdom