in reply to search =~ for /'s
You shouldn't worry about the backslash if $new is a URL because URl's don't end in backslashes. :-)$new =~ s/([^\/])$/$1\//;
-caedes
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: search =~ for /'s
by BrowserUk (Patriarch) on Jun 29, 2002 at 23:21 UTC | |
by screamingeagle (Curate) on Jun 30, 2002 at 02:42 UTC | |
by caedes (Pilgrim) on Jun 30, 2002 at 01:16 UTC |