Consider
s/.../$1' $2"/
More accurate:
$string->substitute( qr/pattern/, sub { qq/replacement/ } );
In reply to Re^2: perldoc of s///ee wrong or just misleading? (read more)
by ikegami
in thread perldoc of s///ee wrong or just misleading?
by LanX
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |