"use diagnostics" won't work

perl

Solution

This indicates that your installation of Perl did not include perldiag.pod (a documentation file). See here.

The easiest solution is probably to update your installation of Perl. A good idea anyway, unless you already have the latest version.

Problem

Every time I type in the `use diagnostics` in Perl I just get an error message saying `couldn't find diagnostics data in /file name.etc...` can someone help please? The `use warnings` etc all work fine! Thanks in advance.

Original source