diff options
-rw-r--r-- | MDK/Common/File.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MDK/Common/File.pm b/MDK/Common/File.pm index 3cc7e6d..87923ee 100644 --- a/MDK/Common/File.pm +++ b/MDK/Common/File.pm @@ -132,7 +132,7 @@ sub glob_ { sub substInFile(&@) { my ($f, $file) = @_; - if (-e $file) { + if (-s $file) { local @ARGV = $file; local ($^I, $_) = ''; while (<>) { &$f($_); print } |