Hi,

Any one suggest me, what is the error in my below code, Not any error when
run, But unable to get the search value in replacement.

$content=~s/<$allelm/"<\1 xml:id=".$idseq++/egsi;

Here $allelm contains element list, (para|quote|list).

I am getting output as a junk for \1.

Regards,
Ramkumar



-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to