$variable =~ tr#/#\\#;