?¡ë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::TXT;
#
# $Id: TXT.pm 582 2006-04-25 07:12:19Z olaf $
#
use strict;
BEGIN {
eval { require bytes; }
}
use vars qw(@ISA $VERSION);
use Text::ParseWords;
@ISA = qw(Net::DNS::RR);
$VERSION = (qw$LastChangedRevision: 582 $)[1];
sub new {
my ($class, $self, $data, $offset) = @_;
my $rdlength = $self->{'rdlength'} or return bless $self, $class;
my $end = $offset + $rdlength;
while ($offset < $end) {
my $strlen = unpack("\@$offset C", $$data);
++$offset;
my $char_str = substr($$data, $offset, $strlen);
$offset += $strlen;
push(@{$self->{'char_str_list'}}, $char_str);
}
return bless $self, $class;
}
sub new_from_string {
my ( $class, $self, $rdata_string ) = @_ ;
bless $self, $class;
$self->_build_char_str_list($rdata_string);
return $self;
}
sub txtdata {
my $self = shift;
return join(' ', $self->char_str_list());
}
sub rdatastr {
my $self = shift;
if ($self->char_str_list) {
return join(' ', map {
my $str = $_;
$str =~ s/"/\\"/g;
qq("$str");
} @{$self->{'char_str_list'}});
}
return '';
}
sub _build_char_str_list {
my ($self, $rdata_string) = @_;
my @words;
@words= shellwords($rdata_string) if $rdata_string;
$self->{'char_str_list'} = [];
if (@words) {
foreach my $string (@words) {
$string =~ s/\\"/"/g;
push(@{$self->{'char_str_list'}}, $string);
}
}
}
sub char_str_list {
my $self = shift;
if (not $self->{'char_str_list'}) {
$self->_build_char_str_list( $self->{'txtdata'} );
}
return @{$self->{'char_str_list'}}; # unquoted strings
}
sub rr_rdata {
my $self = shift;
my $rdata = '';
foreach my $string ($self->char_str_list) {
$rdata .= pack("C", length $string );
$rdata .= $string;
}
return $rdata;
}
1;
__END__
=head1 NAME
Net::DNS::RR::TXT - DNS TXT resource record
=head1 SYNOPSIS
C