Hello Group, Following script dies with this error :
Can't open iso.xls. It may be in use or protected at test.pl line 4 ------------------------------------------------------------------------- use Spreadsheet::WriteExcel; use strict; my $excel_name="iso.xls"; my $Book = Spreadsheet::WriteExcel->new("iso.xls") || print "iso"; print "here "; die "Problems creating new Excel file: $!" unless defined $Book; --------------------------------------------------------------------------- It is expected to return undef for the $Book, and should die on line 6. But it bums out on line 3 before I get a chance to throw a warning message. Any Ideas. Thanks. Iso _______________________________________________ Perl-Win32-Users mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs