小弟我試寫了下列一段code
use strict;
use warnings;
use Excel::Writer::XLSX;
my $path="D:\cell_b.xlsx";
my $workbook = Excel::Writer::XLSX->new($path);
my $worksheet = $workbook->add_worksheet("New_Sheet");
$worksheet->write(0,0,"haha");
my $workbook = Excel::Writer::XLSX->new($path); 這一行無法執行
但是若改成 my $path="cell_b.xlsx"; 卻可以 請問perl excel module
無法指定新workbook的路徑嗎?