always a million ways to do things ;-)$_="http://bla.com"; s#([^/])$#$1/#; $_ .= "foo.html"; print; # prints http://bla.com/foo.html $_="http://bla.com/"; s#([^/])$#$1/#; $_ .= "foo.html"; print; # prints http://bla.com/foo.html
to ask a question is a moment of shame
to remain ignorant is a lifelong shame
In reply to Re: URI plus File::Spec::Unix -- good idea or bad?
by insaniac
in thread URI plus File::Spec::Unix -- good idea or bad?
by mreece
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |