in reply to suffix and hash string

Its because $table{name} contains a newline. $table{name} contains a newline because you did not chomp.

This is a frequent pitfall.

In the future you should post a self contained program which demonstrates your problem, its easier to help that way. More tips like that can be found at How (Not) To Ask A Question

Replies are listed 'Best First'.
Re^2: suffix and hash string
by rawatabhishek23 (Initiate) on Nov 07, 2010 at 10:55 UTC
    Thanks!! I will check the FAQ.