Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

2 instances of perl

2 instances of perl

2 instances of perl

I am having trouble running 2 perl programs at the same time. I think perl does not allocate separate memory spaces for each instance of perl. My program gets all messed up when i try to run 2 perl programs at the same time. Does any1 have a way aroudn this problem?

RE: 2 instances of perl

What OS?  Any UNIX variant and WinNT or Win2K should run as many as you could concievably want.  I'm not clear on how the Win OSs do it, but any Unix variant will spawn a new process for each new program......even if it is the same program multiple times (provided there is nothing in the programs themselves to prevent such).

to illustrate:
You should be able to save the following snippet into two files.  Start one, while it is running/waiting, start/run the other.  

print "Waiting";

keep the rudder amid ship and beware the odd typo

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close