/usr/share/perl5/UR/Value/FilePath.pm is in libur-perl 0.440-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 | package UR::Value::FilePath;
use strict;
use warnings;
require UR;
our $VERSION = "0.44"; # UR $VERSION;
UR::Object::Type->define(
class_name => 'UR::Value::FilePath',
is => ['UR::Value::FilesystemPath'],
);
sub line_count {
my $self = shift;
my ($line_count) = qx(wc -l $self) =~ /^\s*(\d+)/;
return $line_count;
}
1;
|