You're assuming -e returns false because the file isn't present. That might not be the case. Change
print STDERR "Error:File not present";
to
die("Can't stat config file \"$INI_FILE_PATH\": $!\n");
The important part is the use of $!.
In reply to Re: not able to read remote file from linux machine
by ikegami
in thread not able to read remote file from linux machine
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |