Re #6518. Fixing PERL system test.