/usr/share/perl5/Net/Hotline/FileInfoItem.pm is in libnet-hotline-perl 0.83-2.
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 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 | package Net::Hotline::FileInfoItem;
## Copyright(c) 1998-2002 by John C. Siracusa. All rights reserved. This
## program is free software; you can redistribute it and/or modify it under
## the same terms as Perl itself.
use strict;
use vars qw($VERSION);
$VERSION = '0.80';
sub new
{
my($class) = shift;
my($self) =
{
'ICON' => undef,
'TYPE' => undef,
'CREATOR' => undef,
'SIZE' => undef,
'NAME' => undef,
'COMMENT' => undef,
'CTIME' => undef,
'MTIME' => undef
};
bless $self, $class;
return $self;
}
sub icon
{
$_[0]->{'TYPE'} = $_[1] if(@_ == 2);
return $_[0]->{'TYPE'};
}
sub type
{
$_[0]->{'TYPE'} = $_[1] if(@_ == 2);
return $_[0]->{'TYPE'};
}
sub creator
{
$_[0]->{'CREATOR'} = $_[1] if(@_ == 2);
return $_[0]->{'CREATOR'};
}
sub size
{
$_[0]->{'SIZE'} = $_[1] if(@_ == 2);
return $_[0]->{'SIZE'};
}
sub name
{
$_[0]->{'NAME'} = $_[1] if(@_ == 2);
return $_[0]->{'NAME'};
}
sub comment
{
$_[0]->{'COMMENT'} = $_[1] if(@_ == 2);
return $_[0]->{'COMMENT'};
}
sub ctime
{
$_[0]->{'CTIME'} = $_[1] if(@_ == 2);
return $_[0]->{'CTIME'};
}
sub mtime
{
$_[0]->{'MTIME'} = $_[1] if(@_ == 2);
return $_[0]->{'MTIME'};
}
1;
|