Hi,
I want to store an xml file in a var so that i can use the particular values of some nodes later.
i am using following code:
But its giving error:
"File does not exist: cas.xml at xml_test.cgi line 7"
I have kept both code file & xml file at same place.
I also tried giving the absolute path "C:\test\cas.xm l".
But its throwing same error.
Kindly Help.
Regards,
Sandeep
I want to store an xml file in a var so that i can use the particular values of some nodes later.
i am using following code:
Code:
#!C:\Perl\bin
use XML::Simple;
use Data::Dumper;
$xml = new XML::Simple;
$data = $xml->XMLin('cas.xml');
print Dumper($data);
"File does not exist: cas.xml at xml_test.cgi line 7"
I have kept both code file & xml file at same place.
I also tried giving the absolute path "C:\test\cas.xm l".
But its throwing same error.
Kindly Help.
Regards,
Sandeep
Comment