Hi All
Am new to perl and i have install ActivePerl in my windows Xp 32 bit system.
Am trying to run a small script which create a xml file using use XML::Smart module.
when ever i tried to run the script i get the below error, not sure where am making mistake. Any help please
Error :
C:\QA\Projects\Perl>perl QAServerSetup.pl
Can't locate Object/MultiType.pm in @INC (@INC contains: C:\Perl\lib\P
+LJava-0.04
C:/Perl/site/lib C:/Perl/lib .) at C:/Perl/lib/XML/Smart.pm line 18.
BEGIN failed--compilation aborted at C:/Perl/lib/XML/Smart.pm line 18.
Compilation failed in require at QAServerSetup.pl line 3.
BEGIN failed--compilation aborted at QAServerSetup.pl line 3.
Script file content is :
#!/bin/perl -w
use lib 'C:\Perl\lib\PLJava-0.04';
use XML::Smart;
## Create a null XML object:
my $XML = XML::Smart->new() ;
## Add a xml server to the list:
$XML->{configuration} = {
version => '0.7.1.136' ,
savepassword => 'True' ,
} ;
$XML->save('newfile.xml') ;
Also, i need to know how to install the perl modules using PPM window and if any of the modules installed manually(tar files,unzipped) then where we need to put those module files into(location) ???
Thanks,
V