When you use " and also have \ then Perl will take \ as indicating to take the
next character as is. So the code
open(INPUT, "..\SampleConfig.xml");
becomes in the processing
"..SampleConfig.xml" which is not what you want.
Either add an extra \ so you hav
Have you tried
if( $^O eq "MSWin32"){
open(INPUT, "../SampleConfig.xml") or die "Can't open
.../SampleConfig.xml: $!";
} else {
open(INPUT, "SampleConfig.xml") or die "Can't open SampleConfig.xml:
$!";
}
Note forward slash...
John
-Original Message-
From: K.Srinivas [ma