Hi,

Can anyone tell me how to insert a forward slash '/' into a variable when
searching and replacing.

If you look below I'm trying to search for 'booking2.html' then replace it
with 'http://xxx' etc, but I get an error when it's run.

$line=~s/booking2.html/http:////www.mysite//booking2.html/g;

Thanks,
Guy


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to