in reply to Escape from backslash hell
Eh, if you just want to convert the '/'s to '\/'s,
my $str = '11/29/2001'; $str =~ s{/}{\\/}g; print $str, "\n"; [download]
This seems to work for me...