Module Change

Can't locate auto/Text/CSV_XS/error_diag.al in @INC …

This error message may confound those not familiar with perlxs—in other words, almost the entire population. The cause is writing code using documentation from a current version of Text::CSV_XS, then running that code on a system with an older version of Text::CSV_XS. Methods have been added over the years, such as error_diag(), while older versions only support error_input().

Fixing the problem involves either updating Text::CSV_XS, or backporting the code to work with the old module version. Updating the module may seem the ideal choice, though could lead to problems if the updated module cannot be automatically reproduced on other systems of the same role—that is, additional systems for scaling a service, or even a reinstall following a hardware failure or upgrade. Use a ports system, or manage code under a site software depot to ensure reproducibility.

Technorati Tags: