for ex. @array=(12300,archive) #array can contain list of values not only tow values. like num_rows =>('12300','archive') # values shud be in teh same format as typed with in single quotes what i want to do with this is i have some statement which has num_rows so where it finds that key name it has to be replaced with all values in a key in that statement. like update table set rows=&num_rows& then the replaced stmt shud b like update table set rows='12300','archive' #just an example its not that i want to do this only with key and value if we can do in any better idea than hash would be really great.