softeng2000 has asked for the wisdom of the Perl Monks concerning the following question:

Hi. Is it possibly to run 2 programs as 2 processes in Perl? Thanks!
  • Comment on Is it possibly to run 2 programs as 2 processes in Perl?

Replies are listed 'Best First'.
Re: Is it possibly to run 2 programs as 2 processes in Perl?
by Fastolfe (Vicar) on Sep 22, 2000 at 23:48 UTC
    Please elaborate.

    If you run 2 programs, by the nature of a process, you're running two processes.

    If you want one Perl script/process to split itself into two separate processes, check out fork(). Otherwise please provide us with more detail as to what you're wanting to do.

(bbq) Re: Is it possibly to run 2 programs as 2 processes in Perl?
by BBQ (Curate) on Sep 23, 2000 at 01:06 UTC
    You probably want to refer to the question (posted earlier today) on this at 2 programs as 2 processes.

    #!/home/bbq/bin/perl
    # Trust no1!