Hi Jentil, You do not seem to have the module installed. If you have cpanm, you may try:
$ cpanm Spreadsheet::WriteExcel Cheers, Jing On 15 Jul 2013, at 19:01, "Tom, Jentil Kuriakose" <c_j...@qti.qualcomm.com> wrote: > > Hi, > > I have written simple EXCEL sheet gen PEARL code: > > #!/usr/bin/perl > > use strict; > use Spreadsheet::WriteExcel; > > my $workbook = Spreadsheet::WriteExcel->new("simple.xls"); > my $SUMMARY = $workbook->add_worksheet("SUMMARY"); > > $SUMMARY->write(0, 0, "START"); > $SUMMARY->write(0, 2, "A"); > > But it gives following error when I execute through: > >> perl excel_sheet.pl > Can't locate Spreadsheet/WriteExcel.pm in @INC (@INC contains: > /usr/perl5/5.8.4/lib/sun4-solaris-64int /usr/perl5/5.8.4/lib > /usr/perl5/site_perl/5.8.4/sun4-solaris-64int /usr/perl5/site_perl/5.8.4 > /usr/perl5/site_perl /usr/perl5/vendor_perl/5.8.4/sun4-solaris-64int > /usr/perl5/vendor_perl/5.8.4 /usr/perl5/vendor_perl .) at excel_sheet.pl line > 4. > BEGIN failed--compilation aborted at excel_sheet.pl line 4. > > Kindly help. > > > Thanks, > Jentil. > > > -- > To unsubscribe, e-mail: beginners-unsubscr...@perl.org > For additional commands, e-mail: beginners-h...@perl.org > http://learn.perl.org/ > > -- To unsubscribe, e-mail: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/