http://qs321.pair.com?node_id=676425


in reply to don't understand bless

Can't call method "Workbooks" on unblessed reference ... my $book = $Excel->Workbooks->Open( $excel_template ) or die ; # open +Excel file
The code posted is trying to run the Workbooks method of the $Excel variable. In Object-Oriented speak a "method" is a subroutine tied to an object or class.

To get started with objects in perl see bless, perltoot, and perlobj.