home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.madoka.org
/
2014.12.ftp.madoka.org.tar
/
ftp.madoka.org
/
pub
/
plum
/
plum2_33_1.lzh
/
module
/
sys
/
dump.plm
< prev
next >
Wrap
Text File
|
1999-03-24
|
2KB
|
59 lines
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN"><!-- $_ if 0; # -*- perl -*-
# $Id: dump.plm,v 2.10 1998/12/20 02:25:40 hasegawa Exp $
# copyright (c)1997-1998 Yoshinori Hasegawa <hasegawa@madoka.org>
package sys_dump;
print 'PLUM : ', $plum'NAME, ' ', $plum'VERSION, "\n";
print 'PERL : ', $^X, ' ', sprintf('%g', $]), "\n";
print 'ARGV : ', join(' ', @ARGV), "\n";
print 'KANJI : ', join(' ', &'array($plum'KANJI)), "\n";
print 'PROTO : ', $plum'PROTO || '', "\n";
print 'SOCKET : ', $plum'SOCKET, "\n";
print 'AF_INET : ', $plum'AF_INET, "\n";
print 'PF_INET : ', $plum'PF_INET, "\n";
print 'SOCK_STREAM : ', $plum'SOCK_STREAM, "\n";
print 'SOMAXCONN : ', $plum'SOMAXCONN, "\n";
print 'INADDR_ANY : ', join('.', unpack('C4', $plum'INADDR_ANY)), "\n";
print 'SOL_SOCKET : ', defined($plum'SOL_SOCKET) ? $plum'SOL_SOCKET : '', "\n";
print 'SO_REUSEADDR : ', defined($plum'SO_REUSEADDR) ? $plum'SO_REUSEADDR : '', "\n";
print 'UID : ', "$< $>\n";
print 'LOGIN : ', getlogin(), ' ', eval '(getpwuid($<))[0]', "\n";
print 'NAME : ', eval '((split(/\\,/, (getpwuid($<))[6]))[0])', "\n";
print 'HOME : ', $ENV{'HOME'} || '', ' ', eval '(getpwuid($<))[7]', "\n";
print 'UMASK : ', sprintf('%03o', umask()), "\n";
exit(0);
$_ = 'sys_dump';
__END__
--><HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-2022-JP">
<LINK REV="made" HREF="mailto:hasegawa@madoka.org">
<TITLE>sys/dump.plm</TITLE></HEAD><BODY>
$B%*%s%i%$%s%I%-%e%a%s%H(B
<HR><H3>$BL>A0(B</H3>
sys/dump.plm - plum$B$,FbIt$G;HMQ$9$k>pJs$rI=<($9$k(B
<HR><H3>$B@bL@(B</H3>
plum$B$,FbIt$G;HMQ$9$k3F<o$NJQ?t$N>pJs$J$I$rI=<($7$^$9!#(B
$B$3$N%b%8%e!<%k$rAH$_9~$`$H!"(Bplum$B<+?H$N<B9T$O9T$J$o$l$^$;$s!#(B
<HR><H3>$B%W%m%Q%F%#(B</H3>
<HR><H3>$B@_DjNc(B</H3>
<PRE>
= sys/dump.plm
</PRE>
</BODY></HTML>