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
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
how to get the env of one PID .
my $file="/proc/1/environ";
system "xxd $file";
open FILE,"< $file" or die "open $file err:$!";
my $c=;
close FILE;
my $hex=unpack "H*",$c;
print "\n$hex\n\n";
my @list=split /00/,$hex;
foreach (@list) {
print pack ("H*",$_) . "\n";
}
> -邮件原件-
> 发件
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:
>> Now I have
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
S