http://www.perlmonks.org?node_id=919359

Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hello, Monks!

Is there any way to override "file test operator", using package?

I mean -X one - http://perldoc.perl.org/functions/-X.html

if (-e($file_name)) {}

It's more than easy to override lot of over functions, using "sub FUNCTION_NAME { }" inside package, but i have no idea what sub name I could use to override "file test operator"? (it's even hard to name correctly here, to ask that question).

Any reply would be welcome, so I could at least stop searching.