I try to below coding but it does't work properly
That's not a proper error description. What happens, what output do you get, and how does it differ from what you expect? Do red and green flames come out of your PC when you try to run the code?
while($line =~ /<P_contrib-author>(.*?)<\/P_contrib-author>/)
I guess you need to use the /g modifier at the end of the regex.
In reply to Re: string concatenation
by moritz
in thread string concatenation
by maha
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |