| Linux premium331.web-hosting.com 4.18.0-553.80.1.lve.el8.x86_64 #1 SMP Wed Oct 22 19:29:36 UTC 2025 x86_64 Path : /usr/share/perl5/URI/file/ |
| Current File : //usr/share/perl5/URI/file/QNX.pm |
package URI::file::QNX;
use strict;
use warnings;
use parent 'URI::file::Unix';
our $VERSION = '1.73';
$VERSION = eval $VERSION;
sub _file_extract_path
{
my($class, $path) = @_;
# tidy path
$path =~ s,(.)//+,$1/,g; # ^// is correct
$path =~ s,(/\.)+/,/,g;
$path = "./$path" if $path =~ m,^[^:/]+:,,; # look like "scheme:"
$path;
}
1;