in reply to Re^2: URI plus File::Spec::Unix -- good idea or bad?
in thread URI plus File::Spec::Unix -- good idea or bad?
uses grep to filter out the empty strings returned by path_segments.print $uri->path_segments( grep { $_ } $uri->path_segments, $file );
updated: fixed typo
|
|---|