Beefy Boxes and Bandwidth Generously Provided by pair Networks
Russ Clear questions and runnable code get the best and fastest
answer  Dynamic linker  by zamanfou (Initiate) on Jul 14, 2008
at 14:44 UTC ( #697487=perlquestion: print w/ replies, xml )
Need Help?? zamanfou has asked for the wisdom of the Perl Monks
concerning the following question:  Hi monks!  I want to ask
you, if its possible to access a process at runtime, get/set
status and other useful informations.  One more question.
LD_PRELOAD instructs the loader to load additional libraries
into a program, how could that be possible using perl?   Comment
on Dynamic linker Re: Dynamic linker by pc88mxer (Vicar) on Jul
14, 2008 at 14:57 UTC     What do you mean by "get/set status"?
Do you mean the exit status of a child process? If so, the
answer is $?.      As for using LD_PRELOAD, using it works just
fine with perl. For instance, see this example. Note, however,
that depending on how it was built, perl may use it's own
libraries for some things (like