?¡ëPNG
IHDR ? f ??C1 sRGB ??¨¦ gAMA ¡À?¨¹a pHYs ? ??o¡§d GIDATx^¨ª¨¹L¡±¡Âe¡ÂY?a?("Bh?_¨°???¡é¡ì?q5k?*:t0A-o??£¤]VkJ¡éM??f?¡À8\k2¨ªll¡ê1]q?¨´???T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found
in /home/user1137782/www/china1.by/classwithtostring.php on line 86
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217
Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
package Net::DNS::RR::NAPTR;
#
# $Id: NAPTR.pm 718 2008-02-26 21:49:20Z olaf $
#
use strict;
BEGIN {
eval { require bytes; }
}
use vars qw(@ISA $VERSION);
@ISA = qw(Net::DNS::RR);
$VERSION = (qw$LastChangedRevision: 718 $)[1];
__PACKAGE__->set_rrsort_func("order",
sub {
my ($a,$b)=($Net::DNS::a,$Net::DNS::b);
$a->{'order'} <=> $b->{'order'}
||
$a->{'preference'} <=> $b->{'preference'}
}
);
__PACKAGE__->set_rrsort_func("default_sort",
__PACKAGE__->get_rrsort_func("order")
);
__PACKAGE__->set_rrsort_func("preference",
sub {
my ($a,$b)=($Net::DNS::a,$Net::DNS::b);
$a->{"preference"} <=> $b->{"preference"}
||
$a->{"order"} <=> $b->{"order"}
}
);
sub new {
my ($class, $self, $data, $offset) = @_;
if ($self->{"rdlength"} > 0) {
($self->{"order"} ) = unpack("\@$offset n", $$data);
$offset += Net::DNS::INT16SZ();
($self->{"preference"}) = unpack("\@$offset n", $$data);
$offset += Net::DNS::INT16SZ();
my ($len) = unpack("\@$offset C", $$data);
++$offset;
($self->{"flags"}) = unpack("\@$offset a$len", $$data);
$offset += $len;
$len = unpack("\@$offset C", $$data);
++$offset;
($self->{"service"}) = unpack("\@$offset a$len", $$data);
$offset += $len;
$len = unpack("\@$offset C", $$data);
++$offset;
($self->{"regexp"}) = unpack("\@$offset a$len", $$data);
$offset += $len;
($self->{"replacement"}) = Net::DNS::Packet::dn_expand($data, $offset);
}
return bless $self, $class;
}
sub new_from_string {
my ($class, $self, $string) = @_;
if ($string && $string =~ /^ (\d+) \s+
(\d+) \s+
['"] (.*?) ['"] \s+
['"] (.*?) ['"] \s+
['"] (.*?) ['"] \s+
(\S+) $/x) {
$self->{"order"} = $1;
$self->{"preference"} = $2;
$self->{"flags"} = $3;
$self->{"service"} = $4;
$self->{"regexp"} = $5;
$self->{"replacement"} = Net::DNS::stripdot($6);
}
return bless $self, $class;
}
sub rdatastr {
my $self = shift;
my $rdatastr;
if (exists $self->{"order"}) {
$rdatastr = $self->{"order"} . ' ' .
$self->{"preference"} . ' "' .
$self->{"flags"} . '" "' .
$self->{"service"} . '" "' .
$self->{"regexp"} . '" ' .
$self->{"replacement"} . '.';
}
else {
$rdatastr = '';
}
return $rdatastr;
}
sub rr_rdata {
my ($self, $packet, $offset) = @_;
my $rdata = "";
if (exists $self->{"order"}) {
$rdata .= pack("n2", $self->{"order"}, $self->{"preference"});
$rdata .= pack("C", length $self->{"flags"});
$rdata .= $self->{"flags"};
$rdata .= pack("C", length $self->{"service"});
$rdata .= $self->{"service"};
$rdata .= pack("C", length $self->{"regexp"});
$rdata .= $self->{"regexp"};
$rdata .= $self->_name2wire ($self->{"replacement"});
}
return $rdata;
}
sub _normalize_dnames {
my $self=shift;
$self->_normalize_ownername();
$self->{'replacement'}=Net::DNS::stripdot($self->{'replacement'}) if defined $self->{'replacement'};
}
1;
__END__
=head1 NAME
Net::DNS::RR::NAPTR - DNS NAPTR resource record
=head1 SYNOPSIS
C