Re: 答复: the question of one program

2009-11-23 Thread Jenda Krynicky
From: Philip Potter > 2009/11/20 gaochong : > > Thanks . > > But the code is from cpan.org ,and is crappy ,where I will go ? > > CPAN has no quality control. There is no guarantee that anything you > get from CPAN will not be, as you say, "crappy". > > As a result, be selective with what you dow

Re: 答复: the question of one program

2009-11-20 Thread Philip Potter
2009/11/20 gaochong : > Thanks . > But the code is from cpan.org ,and is crappy ,where I will go ? CPAN has no quality control. There is no guarantee that anything you get from CPAN will not be, as you say, "crappy". As a result, be selective with what you download from CPAN. Ask questions, go by

答复: the question of one program

2009-11-20 Thread gaochong
{ print pack ("H*",$_) . "\n"; } > -邮件原件- > 发件人: Shlomi Fish [mailto:shlo...@iglu.org.il] > 发送时间: 2009年11月19日 23:24 > 收件人: beginners@perl.org > 抄送: gaochong > 主题: Re: the question of one program > > On Thursday 19 Nov 2009 16:54:00 g

Re: ìö‘` : the question of one program

2009-11-19 Thread Jim Gibson
At 11:48 AM +0800 11/20/09, gaochong wrote: Thanks . But the code is from cpan.org ,and is crappy ,where I will go ? You figure out what is wrong with it and improve it. You have already been given some hints from people on this list. Here are some more: 1. Don't call subroutines with the '&

答复: the question of one program

2009-11-19 Thread gaochong
Thanks . But the code is from cpan.org ,and is crappy ,where I will go ? -邮件原件- 发件人: John W. Krahn [mailto:jwkr...@shaw.ca] 发送时间: 2009年11月19日 23:53 收件人: Perl Beginners 主题: Re: the question of one program Shlomi Fish wrote: > On Thursday 19 Nov 2009 16:54:00 gaochong wrote: >> N

答复: the question of one program

2009-11-19 Thread gaochong
thanks all . But from the view of SA,I have not understand how to get the hidden processes in os linux . and how to get the env of every process . thanks -邮件原件- 发件人: John W. Krahn [mailto:jwkr...@shaw.ca] 发送时间: 2009年11月19日 23:53 收件人: Perl Beginners 主题: Re: the question of one program

Re: the question of one program

2009-11-19 Thread John W. Krahn
Shlomi Fish wrote: On Thursday 19 Nov 2009 16:54:00 gaochong wrote: Now I have see the following page ,but I have some question and need help . http://www.cpan.org/authors/id/S/SU/SUJAI/Process-Detail-0.1.pl the second , @array=split(/([A-Z]+(_|[A-Z])+\=.[^A-Z]+)/,$_); also the re

Re: the question of one program

2009-11-19 Thread Shlomi Fish
On Thursday 19 Nov 2009 16:54:00 gaochong wrote: > Now I have see the following page ,but I have some question and need help . > > http://www.cpan.org/authors/id/S/SU/SUJAI/Process-Detail-0.1.pl > From a quick look, this script seems awful: 1. No "use strict;" and "use warnings;". 2. uses "Swi

Re: the question of one program

2009-11-19 Thread Parag Kalra
>>first,what is the meaning of if($pcs =~ /(\d+)/ && $pcs =~ /\./) , $pc should contain at least 1 or more digits and it should also contain a decimal point i.e '.' >>I can’t understand the re /\./ It is escaping the dot character i.e '.' - thus normal behaviour of '.' to match a single charac

the question of one program

2009-11-19 Thread gaochong
Now I have see the following page ,but I have some question and need help . http://www.cpan.org/authors/id/S/SU/SUJAI/Process-Detail-0.1.pl first,what is the meaning of if($pcs =~ /(\d+)/ && $pcs =~ /\./) ,I can’t understand the re /\./ sub hidden { print "\n##Hidden processlis