1
votes

I'm having an issue were my perl suddently and without any reason started throwing this exception back to me:

CGI Error: File is not a perl storable at blib\lib\Storable.pm (autosplit into blib\lib\auto\Storable_retrieve.al) line 380, at C:/myapp/src/main/perl/lib/Output.pm line 1831

Does anybody have any idea what the "File is not a perl storable at blib\lib\Storable.pm" is about and how to fix this?

Thanks, goe

1
When posting a question like this, you really should post the code that is causing the error. Even though ikegami might be able to guess the answer even without code :)user1919238
As I wrote below, there are no code changes in my SVN. This issue started happening on its own just like that. I was however upgraded to an SSD so maybe the image got corrupted and is affecting my perl installation.goe
But this error doesn't imply code changes at all. It implies that the file that you are reading has changed.Dave Cross
Right, that why I suspect the image of my old HDD was corrupted when transferred to the SSD and it's affecting that file...goe

1 Answers

2
votes

You did something like

use Storable qw( retrieve );
my $data = retrieve('file.dat');

and file.dat isn't in a format Storable recognises.