c:\@Work\Perl\monks>perl -wMstrict -MData::Dumper -le "my %my_hash; $my_hash{T::c} = 'xxx'; print $my_hash{'T::c'}; print Dumper \%my_hash; " Bareword "T::c" not allowed while "strict subs" in use at -e line 1. Execution of -e aborted due to compilation errors. c:\@Work\Perl\monks>perl -wMstrict -MData::Dumper -le "my %my_hash; $my_hash{'T::c'} = 'xxx'; print $my_hash{'T::c'}; print Dumper \%my_hash; " xxx $VAR1 = { 'T::c' => 'xxx' };