http://www.perlmonks.org?node_id=1057258


in reply to Re: "write" problem with "Spreadsheet::WriteExcel" Module
in thread "write" problem with "Spreadsheet::WriteExcel" Module

++ for explicitly closing, but I guess your second code block should rather read:

testExcel.pl

#!/usr/bin/perl use excelUtil; writeCell(1, 1, "Testing, Row-1, Col-1"); close_workbook;