in reply to Re: Error "Compilation failed in require" with "use" syntax
in thread Error "Compilation failed in require" with "use" syntax

Thanks for the advice, but this is all I get:
perl -c test.pl
Switch will be removed from the Perl core distribution in the next major release. Please install it from CPAN. It is being used at pmFile1.pm, line 7393. test.pl syntax OK
perl -c pmFile1.pm
pmFile1.pm syntax OK
perl -c pmFile2.pm
pmFile2.pm syntax OK