in reply to URI plus File::Spec::Unix -- good idea or bad?

you could use a simple regex of course:
$_="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
always a million ways to do things ;-)

to ask a question is a moment of shame
to remain ignorant is a lifelong shame