in reply to Tk::Error: Can't Call Method "contents" on an Undefined Value at...
At the point where you use $member_workbook it isn't declared. You declared a lexical $member_workbook in the block above, but it is local to that block. If you hadn't of turned off strictures you'd have picked the error up immediately. Never turn off strictures!
You'd have also found the error if you'd tried to cut the code down to a small runable sample instead of posting a huge unrunable monstrosity with multiple OS specific dependencies.
Update: $converter, $class and $self will give you trouble for similar reasons, but the fix is less clear. $member_styles suffers from the same issue as $member_workbook. There are a few more of the same sort.
|
|---|