/usr/share/perl5/URI/file/QNX.pm is in liburi-perl 1.71-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | package URI::file::QNX;
use strict;
use warnings;
use parent 'URI::file::Unix';
our $VERSION = '1.71';
$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;
|