Below is an example of what I am talking about
$PathPlusFileName gets set in Gtk2 File Chooser dialog SUB
if (-e $PathPlusFileName) {
print "found file\n";
} else {
print "did not find file\n";
}
IF block works as long as there are no spaces in the PATH name. Did try double quoting the path, didn't help. Any suggestions on how to correct would be appreciated.
Aucun commentaire:
Enregistrer un commentaire