Turn off the special effect a backslash has, and so we escape it:
#!/usr/bin/perl use warnings; print"C:\\WINNT\\Profiles\\\n"; print 'C:\WINNT\Profiles\ ', "\n";