in reply to string concatenation
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: string concatenation
by maha (Novice) on Dec 28, 2011 at 08:19 UTC | |
by AnomalousMonk (Archbishop) on Dec 28, 2011 at 09:00 UTC | |
by moritz (Cardinal) on Dec 28, 2011 at 09:01 UTC |