[PerlChina] 答复: 请教大家问题

jacky.xu jacky.xu at serversupport.cn
Fri Oct 10 01:05:15 PDT 2008


System ·½Ê½µÄ»° ÖÁÉÙÎÒ¿ÉÒÔÖªµÀÃüÁîÊÇ·ñÕý³£Í˳ö 
$status = system 
ºóÐø¿ÉÒÔ×öһЩÊÂÇé  if ( $status == 0 ) ...

`` ·½Ê½ÓÐʲô°ì·¨£¿

-----ÓʼþÔ­¼þ-----
·¢¼þÈË: china-pm-bounces+jacky.xu=serversupport.cn at pm.org
[mailto:china-pm-bounces+jacky.xu=serversupport.cn at pm.org] ´ú±í Jeff Peng
·¢ËÍʱ¼ä: 2008Äê10ÔÂ10ÈÕ 15:48
ÊÕ¼þÈË: china-pm at pm.org
Ö÷Ìâ: Re: [PerlChina] Çë½Ì´ó¼ÒÎÊÌâ

jacky.xu дµÀ:
> ÓиöÒÉÎÊÇë½Ì´ó¼Ò
> 
>  
> 
> ...
> open $somefile, ¡°>file¡±;
> select $somefile;
> system ¡°ls¡±,¡±-lrt¡±;
> Systemµ÷ÓõÄls ¨Clrt »á°ÑÊä³ö¶ªµ½ ĬÈ쵀 STDOUT Ò²¾ÍÊÇÆÁÄ»ÉÏ £¬ÓÐʲô°ì·¨
¶ª»áÎÒ´ò¿ªµÄÎļþ£¿
> 
> 

ÒòΪsystem´ò¿ªµÄÊÇÁíÒ»×éÊäÈë/Êä³ö¡£
try:
my @output = `ls -ltr`;
print $somefile @output;


> 
> ÁíÍâ 
> 
> <china-pm at pm.org>:
> 216.52.237.216 failed after I sent the message.
> Remote host said: 552 spam score exceeded threshold (#5.6.1)
> 
> --- Below this line is a copy of the message.
> 
> 
> Õâ¸öÕ¦»ØÊ£¿ ÎÒÔ½ÏßÁË£¿

ÕâÊÇÒ»¸öÀ¬»øÓʼþÆÀ·Ö¹æÔò£¬¸ù¾ÝÓʼþ²»Í¬ÌØÕ÷½øÐдò·Ö£¬³¬¹ýÒ»¶¨·ÖÊýÔòÈÏΪÊÇ 
ÒÉËÆÀ¬»øÓʼþ¡£ºÜ¿ÉÄܶԷ½²ÉÓõÄSpamAssassin·´À¬»øϵͳ£¨Ò²ÊÇPerlдµÄ£¬¹æÔò 
³¬Ç¿£©¡£
_______________________________________________
China-pm mailing list
China-pm at pm.org
http://mail.pm.org/mailman/listinfo/china-pm


More information about the China-pm mailing list