in reply to How to escape # sign in key name
#!/usr/bin/perl -w use strict; my %hash = ( partname => "large widget", 'cata#ofitem' => "4321" ); print $hash{ 'cata#ofitem' }, "\n"; [download]
correctly reports "4321" as expected.