Hello Everyone,

Can anyone tell me how to use string handlers in perl (join function). I
tried it to get a list of words.
But i actually want to combine all the similar tags from one file and get it
one below the other in a new file.

For example : My file looks like this now: (Combines 2-3 files)

<message name>
</message name>

 <message name>
</message name>
<binding>
</binding>

 <message name>
</message name>

<portType>
</portType>

<binding>
</binding>

 <message name>
</message name>

<portType>
</portType>

<binding>
</binding>

Now i want all the similar tags to be one below the other like :

 <message name>
</message name>

 <message name>
</message name>

 <portType>
</portType>

 <portType>
</portType>

 <binding>
</binding>

 <binding>
</binding>

I have to store one tag in array and display its contents.
Hope its clear what I mean.

Please help !

Cheers,
Jyo

Reply via email to