Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: Is there any way to override "file test operator"?

by JavaFan (Canon)
on Aug 09, 2011 at 08:24 UTC ( [id://919415]=note: print w/replies, xml ) Need Help??


in reply to Is there any way to override "file test operator"?

I don't think you can, at least not on a pure Perl level. If you're willing to write -E, or - e, you can write a subroutine named E or e, which then will be called instead (and of whose return value unary minus will be applied).

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://919415]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others perusing the Monastery: (7)
As of 2024-03-28 19:02 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found