in reply to don't understand bless
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.Can't call method "Workbooks" on unblessed reference ... my $book = $Excel->Workbooks->Open( $excel_template ) or die ; # open +Excel file
To get started with objects in perl see bless, perltoot, and perlobj.
|
---|
In Section
Seekers of Perl Wisdom