On Wed, Mar 17, 1999 at 12:10:16AM +0000, [EMAIL PROTECTED] wrote:
> Lagi......!!!!!!!!!!!!
>
> Gini, saya punya program perl :
> #!/usr/bin/perl
>
> system("perl bohongan.cgi");
>
> Padahal file bohongan.cgi nggak ada, akhirnya kan keluar error "can't
> open ...".
>
> Nah gimana caranya supaya error message tsb nggak tampil ke layar.
redirect standard error ke /dev/null...
misalnya
% ./nama_program.pl 2> /dev/null
(meredirect filedescriptor 2 (aka. standard error) ke /dev/null)
btw, kalau dipake di CGI, AFAIK hanya standard output yang dipake,
standard error otomatis dibuang...
--
Linux 2.2.2-ac7 #1 Tue Mar 9 13:15:38 JAVT 1999 i586 unknown
5:59pm up 17:13, 4 users, load average: 1.76, 1.72, 1.46
There are a few things you should not trust on the Internet:
commercial spams, chain messages, multi level marketing,
Microsoft ads...
Layanan Informasi Iklan Baris Internet * http://www.iklan-25.co.id
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
To unsubscribe, e-mail : [EMAIL PROTECTED]
To subscribe, e-mail : [EMAIL PROTECTED]
Netika BerInternet : [EMAIL PROTECTED]
UNLIMITED POP3 Account @ http://www.indoglobal.com