?¡ë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
.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.13)
.\"
.\" Standard preamble:
.\" ========================================================================
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
..
.de Vb \" Begin verbatim text
.ft CW
.nf
.ne \\$1
..
.de Ve \" End verbatim text
.ft R
.fi
..
.\" Set up some character translations and predefined strings. \*(-- will
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
.\" double quote, and \*(R" will give a right double quote. \*(C+ will
.\" give a nicer C++. Capital omega is used to do unbreakable dashes and
.\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff,
.\" nothing in troff, for use with C<>.
.tr \(*W-
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
.ie n \{\
. ds -- \(*W-
. ds PI pi
. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
. ds L" ""
. ds R" ""
. ds C` ""
. ds C' ""
'br\}
.el\{\
. ds -- \|\(em\|
. ds PI \(*p
. ds L" ``
. ds R" ''
'br\}
.\"
.\" Escape single quotes in literal strings from groff's Unicode transform.
.ie \n(.g .ds Aq \(aq
.el .ds Aq '
.\"
.\" If the F register is turned on, we'll generate index entries on stderr for
.\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index
.\" entries marked with X<> in POD. Of course, you'll have to process the
.\" output yourself in some meaningful fashion.
.ie \nF \{\
. de IX
. tm Index:\\$1\t\\n%\t"\\$2"
..
. nr % 0
. rr F
.\}
.el \{\
. de IX
..
.\}
.\"
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
.\" Fear. Run. Save yourself. No user-serviceable parts.
. \" fudge factors for nroff and troff
.if n \{\
. ds #H 0
. ds #V .8m
. ds #F .3m
. ds #[ \f1
. ds #] \fP
.\}
.if t \{\
. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
. ds #V .6m
. ds #F 0
. ds #[ \&
. ds #] \&
.\}
. \" simple accents for nroff and troff
.if n \{\
. ds ' \&
. ds ` \&
. ds ^ \&
. ds , \&
. ds ~ ~
. ds /
.\}
.if t \{\
. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
.\}
. \" troff and (daisy-wheel) nroff accents
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
.ds ae a\h'-(\w'a'u*4/10)'e
.ds Ae A\h'-(\w'A'u*4/10)'E
. \" corrections for vroff
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
. \" for low resolution devices (crt and lpr)
.if \n(.H>23 .if \n(.V>19 \
\{\
. ds : e
. ds 8 ss
. ds o a
. ds d- d\h'-1'\(ga
. ds D- D\h'-1'\(hy
. ds th \o'bp'
. ds Th \o'LP'
. ds ae ae
. ds Ae AE
.\}
.rm #[ #] #H #V #F C
.\" ========================================================================
.\"
.IX Title "FQDN 3"
.TH FQDN 3 "2010-11-15" "perl v5.10.1" "User Contributed Perl Documentation"
.\" For nroff, turn off justification. Always turn off hyphenation; it makes
.\" way too many mistakes in technical documents.
.if n .ad l
.nh
.SH "NAME"
.Vb 1
\& Sys::Hostname::FQDN \- Get the short or long hostname
.Ve
.SH "SYNOPSIS"
.IX Header "SYNOPSIS"
.Vb 8
\& use Sys::Hostname::FQDN qw(
\& asciihostinfo
\& gethostinfo
\& inet_ntoa
\& inet_aton
\& fqdn
\& short
\& );
\&
\& $host = short();
\& $fqdn = fqdn();
\& ($name,$aliases,$addrtype,$length,@addrs)=gethostinfo();
\& ($name,$aliases,$addrtype,$length,@addrs)=asciihostinfo();
\& $dotquad = inet_ntoa($netaddr);
\& $netaddr = inet_aton($dotquad);
.Ve
.SH "INSTALLATION"
.IX Header "INSTALLATION"
To install this module type the following:
.PP
.Vb 4
\& perl Makefile.PL
\& make
\& make test
\& make install
.Ve
.PP
Solaris users, see the 'hints' subdirectory if you have problems with the
build.
.SH "DESCRIPTION"
.IX Header "DESCRIPTION"
\&\fBSys::Hostname::FQDN\fR uses the host 'C' library to discover the (usually)
short host name, then uses (perl) gethostbyname to extract the real
hostname.
.PP
The results from gethostbyname are exported as \fBgethostinfo\fR and
\&\fBasciihostinfo\fR as a convenience since they are available. Similarly, the
\&'C' library functions \fBinet_ntoa\fR and \fBinet_aton\fR are exported.
.ie n .IP "$host = \fIshort()\fR;" 4
.el .IP "\f(CW$host\fR = \fIshort()\fR;" 4
.IX Item "$host = short();"
.Vb 1
\& returns the host part of this host\*(Aqs FQDN.
.Ve
.ie n .IP "$fqdn = \fIfqdn()\fR;" 4
.el .IP "\f(CW$fqdn\fR = \fIfqdn()\fR;" 4
.IX Item "$fqdn = fqdn();"
.Vb 1
\& returns the fully qualified host name of this host.
.Ve
.IP "($name,$aliases,$addrtype,$length,@addrs)=\fIgethostinfo()\fR;" 4
.IX Item "($name,$aliases,$addrtype,$length,@addrs)=gethostinfo();"
.Vb 7
\& returns:
\& $name fully qualifed host name of this host.
\& $aliases alternate names for this host.
\& $addrtype The type of address; always AF_INET at present.
\& $length The length of the address in bytes.
\& @addrs array of network addresses for this host
\& in network byte order.
.Ve
.IP "($name,$aliases,$addrtype,$length,@addrs)=\fIasciihostinfo()\fR;" 4
.IX Item "($name,$aliases,$addrtype,$length,@addrs)=asciihostinfo();"
.Vb 6
\& returns:
\& $name fully qualifed host name of this host.
\& $aliases alternate names for this host.
\& $addrtype The type of address; always AF_INET at present.
\& $length The length of the address in bytes.
\& @addrs array of dot quad IP addresses for this host.
.Ve
.ie n .IP "$dotquad = inet_ntoa($netaddr);" 4
.el .IP "\f(CW$dotquad\fR = inet_ntoa($netaddr);" 4
.IX Item "$dotquad = inet_ntoa($netaddr);"
.Vb 2
\& input: packed network address in network byte order.
\& returns: dot quad IP address.
.Ve
.ie n .IP "$netaddr = inet_aton($dotquad);" 4
.el .IP "\f(CW$netaddr\fR = inet_aton($dotquad);" 4
.IX Item "$netaddr = inet_aton($dotquad);"
.Vb 2
\& input: dot quad IP address.
\& returns: packed network address in network byte order.
.Ve
.SH "DEPENDENCIES"
.IX Header "DEPENDENCIES"
.Vb 1
\& none
.Ve
.SH "EXPORT"
.IX Header "EXPORT"
.Vb 1
\& None by default
.Ve
.SH "EXPORT_OK"
.IX Header "EXPORT_OK"
.Vb 6
\& asciihostinfo
\& gethostinfo
\& inet_ntoa
\& inet_aton
\& fqdn
\& short
.Ve
.SH "ACKNOWLEDGEMENTS"
.IX Header "ACKNOWLEDGEMENTS"
The workaround for systems that do not have 'inet_aton' is taken directly
from Socket.xs in the Perl 5 kit for perl\-5.8.0 by Larry Wall, copyright
1989\-2002. Thank you Larry for making \s-1PERL\s0 possible for all of us.
.SH "AUTHOR"
.IX Header "AUTHOR"
Michael Robinton
.SH "COPYRIGHT AND LICENCE"
.IX Header "COPYRIGHT AND LICENCE"
.Vb 1
\& Copyright 2003\-2010, Michael Robinton
.Ve
.PP
This module is free software; you can redistribute it and/or modify it
under the terms of either:
.PP
.Vb 2
\& a) the GNU General Public License as published by the Free Software
\& Foundation; either version 1, or (at your option) any later version,
\&
\& or
\&
\& b) the "Artistic License" which comes with this module.
.Ve
.PP
This program is distributed in the hope that it will be useful,
but \s-1WITHOUT\s0 \s-1ANY\s0 \s-1WARRANTY\s0; without even the implied warranty of
\&\s-1MERCHANTABILITY\s0 or \s-1FITNESS\s0 \s-1FOR\s0 A \s-1PARTICULAR\s0 \s-1PURPOSE\s0. See either
the \s-1GNU\s0 General Public License or the Artistic License for more details.
.PP
You should have received a copy of the Artistic License with this
module, in the file \s-1ARTISTIC\s0. If not, I'll be glad to provide one.
.PP
You should have received a copy of the \s-1GNU\s0 General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, \s-1MA\s0 02111\-1307 \s-1USA\s0