home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.madoka.org
/
2014.12.ftp.madoka.org.tar
/
ftp.madoka.org
/
pub
/
plum
/
2.x
/
plum2_15_2.lzh
/
module
/
log
/
error.plm
< prev
next >
Wrap
Text File
|
1997-11-16
|
871b
|
50 lines
# <!-- -*- perl -*-
# $Id: error.plm,v 2.1 1997/11/17 00:11:59 hasegawa Exp $
# copyright (c)1997 pupu_j <hasegawa@agusa.nuie.nagoya-u.ac.jp>
package log_error;
$FILE = 'logerror';
if (!-w $FILE) {
if (!-f $FILE && open(FILE, ">$FILE")) {
close(FILE);
}
chmod((umask() ^ 0666) | 0200, $FILE) if -f $FILE;
}
if (open(FILE, ">>$FILE")) {
open(STDOUT, '>>&FILE');
open(STDERR, '>>&FILE');
}
$_ = 'log_error';
__END__
--><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">
<HTML><HEAD><TITLE> log/error.plm </TITLE></HEAD><BODY>
$B%*%s%i%$%s%I%-%e%a%s%H(B
<HR><H3> $BL>A0(B </H3>
log/error.plm - $B%(%i!<$r%m%0$H$7$FJ]B8$9$k(B
<HR><H3> $B@bL@(B </H3>
$BI8=`=PNO$H%(%i!<=PNO$r!V(Blogerror$B!W$H$$$&%U%!%$%k$KJ]B8$7$^$9!#(B
<HR><H3> $B%W%m%Q%F%#(B </H3>
<DL>
</DL>
<HR><H3> $B@_DjNc(B </H3>
<PRE>
+ log/error.plm
</PRE>
</BODY></HTML>