That will produce a bunch of errors. You need to quote the key containing a period in it.
Example: $hash{"something.withaperiod"}="some text"; This produces the expected output. On 1/20/06, The Ghost <[EMAIL PROTECTED]> wrote: > > I have keys with periods in them: > > my %hash; > $hash{something.withaperiod}="some text"; > my $something='something'; > my $withaperiod='withaperiod'; > print qq{$hash{"$something.$withaperiod"}\n}; > > > what will it print? > > -- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > <http://learn.perl.org/> <http://learn.perl.org/first-response> > > >