I have been giving the task of figuring out why, when a file is compressed with the lzop utility, an error is produced during decompression using the Compress::LZO module.
I don't know why the files are being compressed with lzop, but it's not code that I'm able to change, so I'm stuck with trying to figure out how to change things at my end.
I'm currently decompressing thusly:
my $decompedstring = Compress::LZO::decompress($compedstring);
if (! defined $decompedstring) {
print "Error decompressing string!";
} else {
print $decompedstring;
}
Unfortunately, all I'm getting is a undefined value returned, indicating an error.
Thoughts?