in reply to Issues with XLSX.pm,

There are three diagnostics Can't call method, to wit:

Which did you get? The first is most common in my experience, and is usually caused by the object creation failing. But this is just a guess. You would get better help if you gave us more to work with than "I got this error message. Why?"