Can't locate object method "newdir" via package "File::Temp" at /path/of/perl/module.pm

Solution Unverified - Updated -

Issue

  • Why am I getting error while running perl script
Can't locate object method "newdir" via package "File::Temp" at /usr/lib/perl5/site_perl/5.8.8/Excel/Writer/XLSX/Workbook.pm line 823

Environment

  • Red Hat Enterprise Linux 5
  • perl-5.8.8-41.el5

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.