in reply to Is there any way to override "file test operator"?
if (-e($file_name)) {};
Trying to override the -e file test is not what I would consider "smart". Even if you could, this is a bad idea.
What other meaning would you have the "-e" do? And why would it make sense in the code?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Is there any way to override "file test operator"?
by Tux (Canon) on Aug 09, 2011 at 06:46 UTC | |
by Marshall (Canon) on Aug 09, 2011 at 07:09 UTC | |
by Tux (Canon) on Aug 09, 2011 at 08:04 UTC | |
|
Re^2: Is there any way to override "file test operator"?
by JavaFan (Canon) on Aug 09, 2011 at 08:19 UTC | |
|
Re^2: Is there any way to override "file test operator"?
by QM (Parson) on Mar 20, 2018 at 09:59 UTC | |
by Marshall (Canon) on Mar 21, 2018 at 03:37 UTC | |
by QM (Parson) on Mar 21, 2018 at 11:48 UTC | |
by Anonymous Monk on Jul 07, 2018 at 19:57 UTC |