implement hints from #perl
fixed http://perl-begin.org/tutorials/bad-elements