Check assigned value to match prefix
E.g., the following code should not be allowed:
my $i_number_of_people = 'twelve'; # should be an integer
my $ar_people = { Mario => 'super' }; # should be an array ref
my $hr_dict = [0..12]; # should be a hash ref
$ar_users->{name} # array ref cannot be accessed like a hash ref
$s_username->[0] # string cannot be used like an array ref
I know, that this can only be checked for static values, but it would be of help for people using wrong prefixes.