in reply to unusual behaviour with Inline-Files and IO-Handle

G'day Peamasii,

"We have a new system which is very similar and where I installed all the required modules."

There is a small problem (it looks like it's just a typo) with this module on CPAN that others have fallen foul of: perhaps it's snagged you also.

The module Inline::File is part of the Inline-Files-0.62 distribution and starts with this code:

package Inline::Files; $VERSION = '0.62';

The module Inline::Files is part of the Inline-Files-0.69 distribution and starts with this code:

package Inline::Files; $VERSION = '0.69';

So, regardless of whether you attempted to install Inline::File or Inline::Files, the output would show Inline::Files being installed. Unless you'd paid particular attention to the version number, it's unlikely you would have noticed the difference. This is the problem others have encountered in the past.

If any code with "use Inline::Files" is working differently to how it did elsewhere, the first thing I check is the version. You may need to install a different version; although, in general, the newer version is preferable.

— Ken