Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Perl Monks, I'm trying to read a file and I'm getting the following error: "Invalid import File". This error appears in the following line:

my $super = $this->SUPER::read($file);

I'm not getting while the file isn't being read. Can you help me? Thanks

Replies are listed 'Best First'.
Re: Invalid import file
by Corion (Patriarch) on Jan 17, 2014 at 11:27 UTC

    The most likely cause is that the file is invalid.

    As you don't show any code to reproduce your problem, it is hard to advise you further.

    The best approach to get more relevant help is to show a short, self-contained example that reproduces the problem. If that's not possible, consider at least telling us the involved module that reports the "Invalid import File" and the real error message that Perl outputs.

Re: Invalid import file
by MidLifeXis (Monsignor) on Jan 17, 2014 at 13:55 UTC

    Building on Corion's comment above, it will also be helpful to include a sample data file that triggers that error.

    --MidLifeXis