note
superfrink
<code>
Can't call method "Workbooks" on unblessed reference
...
my $book = $Excel->Workbooks->Open( $excel_template ) or die ; # open Excel file
</code>
The code posted is trying to run the <code>Workbooks</code> method of the <code>$Excel</code> variable. In Object-Oriented speak a "method" is a subroutine tied to an object or class.<br>
<br>
To get started with objects in perl see [bless], [perltoot], and [perlobj].
676416
676416