in reply to How to validate %hash = ( 'a' => 'b', ...);

As others pointed out, always use strict and use warnings

But additionally using perltidy would have given you a visual hint, and this also in the even case.

use warnings; my %hash = ( 'accents' => 'utf-8', 'accounting' => 'money', 'bank' => 'money' . 'ing' => 'money', 'perls' => 'perl' );

Cheers Rolf
(addicted to the Perl Programming Language and ☆☆☆☆ :)
Je suis Charlie!