How do I check if Spreadsheet::WriteExcel is available in my Perl ?
I ran
perldoc -v Spreadsheet::WriteExcel
and got the following output which suggests no Spreadsheet::WriteExcel on my perl
/usr/local/bin/perldoc => Pod::Perldoc v3.13
Formatter class Pod::Perldoc::ToMan successfully loaded!
Will format with the class Pod::Perldoc::ToMan
Searching for Spreadsheet::WriteExcel
Looking for Spreadsheet/WriteExcel in /opt/SYSperl/bin /opt/SYSperl/lib/5.8.6/sun4-solaris /opt/SYSperl/lib/5.8.6 /opt/SYSperl/lib/site_perl/5.8.6/sun4-solaris /opt/SYSperl/lib/site_perl/5.8.6 /opt/SYSperl/lib/site_perl . /opt/pgti/ixp/bin /opt/pgti/ixp/bin /opt/pgti/ixp/bin /opt/CA/uajm/elp/autosys/bin /usr/openwin/bin /usr/bin /usr/ccs/bin /usr/local/bin /opt/RFMadmin/exe /opt/RFMadmin/bin . /apps/risk/bin
No documentation found for "Spreadsheet::WriteExcel".
But I saw a code using below line and other functions , working fine on my system
$workbook = Spreadsheet::WriteExcel->new($file);`enter code here`