which should give: bla/blabla , but instead I get:use File::Spec ; $a = "bla::blabla" ; $b =~ s/\:\:/File::Spec->rootdir()/ ; print "$b\n" ;
blaTestFile::Spec->rootdir()blabla
In reply to Function call inside regexp by jeanluca
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |