in reply to search =~ for /'s

$new = param('home'); Now I wanna check to see if new has a / at the end

if ($new !~ m[/$]) {

if it doesnt then add a /.

$new .= '/'; }

But it's a url so what if the user uses a \ instead of /.

URLs use slashes, not backslashes.

By the way: $new =~ s[\z(?<!/)][/];.

- Yes, I reinvent wheels.
- Spam: Visit eurotraQ.