Hi, change your if statement as follows:
if($src =~ /<record[^>]*>/igm){ $src =~ s/$&/$&$new_tag/i; }
Regards,
Velusamy R.
In reply to Re: Insert into string
by Samy_rio
in thread Insert into string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |