I am having a problem checking if a file exists in Teamsite, it does actually exist, but my code is saying it doesn't
$file = templatedata\testing\FR\data\final-test
$EN = $file;
$EN =~ s/FR/EN/;
if (-e $EN)
{
print "file exists";
}
else
{
print "file doesn't exist";
}
As you can tell, I am getting the "fiel doesn't exist" written to my log file, but I don't know why. Even when I build the full path (i.e. $area in from on $EN) it still doesn't find the file.
Am I missing something?
Thanks
Lucas Cochrane
lcochrane@dc.com