in reply to Better way to search in the process table?
Well, this...
...looks like a something recursive... like... nature...# more stuff with this pid # more stuff with the parent # more stuff with the grandparent # more stuff with the great-grandparent
Seriously, without knowing the purpose of all this, it is difficult to tell the meaning of life.
Maybe "more stuff" is an anonymous sub which does pamper/feed/play with/kill or such? and is passed as an argument into the sub which deals with a process?
Is all that just for fun? Do we want to build a tree?
perl -le'print map{pack c,($-++?1:13)+ord}split//,ESEL'
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Better way to search in the process table?
by karlgoethebier (Abbot) on Mar 03, 2014 at 09:17 UTC |
In Section
Seekers of Perl Wisdom