in reply to Run Subroutine of a class as a background process using Win32::Process

Is it possible to run subroutine of a class as a background process using win32::Process module?

No, but you can run a program, and that program can call any subroutine it wants

Also,  [ddg://"use Win32::Process" site:perlmonks.org] [google://"use Win32::Process" site:perlmonks.org] "use Win32::Process" site:perlmonks.org "use Win32::Process" site:perlmonks.org

Is it possible to get the varaibles a class using $self in other process?

No. Its like money, just because a human(program) like me has a wallet (variable) and a human(program) like you has a waller(variable), doesn't mean when you open(access) your wallet(variable) you get my money(data) -- we have to talk (communicate) and make an exchange

see perlipc, the simplest form for communication is @ARGV/ STDIN/ STDOUT/ STDERR

  • Comment on Re: Run Subroutine of a class as a background process using Win32::Process
  • Download Code