Subject: | path_segments /foo/bar versus foo/bar |
C:\>perl -MURI::URL -l003e"$a = URI::URL->new( shift ); print for $a->path_segments" foo/bar?baz
foo?bar?
C:\>perl -MURI::URL -l003e"$a = URI::URL->new( shift ); print for $a->path_segments" /foo/bar?baz
?foo?bar?
C:\>
the URI::URL documentation doesn't mention this.
It should either be documented, or both should return the same value
(i don't know which).