use the /e modifier to evaluate the right-hand side of the RE.
$b =~ s/\:\:/File::Spec->rootdir()/e ;
Enjoy,
Mickey
In reply to Re: Function call inside regexp
by mickeyn
in thread Function call inside regexp
by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |