Thanks for the reply
In the __DATA__ there are two files.
^C^D^V^V^A is the start of file. In each file how to check if the tag is duplicate.
For example:
in first file:
{DATE} and {SECTION} is twice. So i have to print only {DATE} and {SECTION} as multiple.
Please tell me how can I find out?