Hello,

I was wondering if anyone knows how to use this s/ / / operator
with variable interpolation.

For example:

$new = "F:\\new\\new";
$test = "F:\\test";
$test1 = "F:\\test\\test\\test";

$test1 =~ s/$test/$new/i;

doesn't seem to work.
Does anyone know why?

thanks,

John
_______________________________________________
Perl-Win32-Admin mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to