in reply to call another program from perl

What have you tried so far? What part of the documentation for system, open, and interprocess communication is giving you difficulty? What is the airspeed velocity of an unladen swallow? Why do people drive on parkways and park on driveways?

Update: This posted before the OP was stealth updated with actual code . . .

The cake is a lie.
The cake is a lie.
The cake is a lie.

Replies are listed 'Best First'.
Re^2: call another program from perl
by regexes (Hermit) on Jul 15, 2008 at 08:26 UTC
    I couldn't resist....

    if 7/11 (a quick mart) is open 24 hours, 7 days a week... why do they have locks on the doors?

      This question is probably rhetorical but I'll answer anyway (what if there were no hypothetical situations?). A while back, my wife worked at a restaurant named "Jojo's". It was open 24/7 and had no locks on the doors. Then, they got robbed and the police wanted to secure the area. Uh oh.

      --
      Wade
      The real reason is that oftentimes at gas stations etc like that, there is only one person working there. If they need to go to the bathroom, or say... leave the store to go outside to exchange propane tanks for someone, they have to make sure nobody is inside, and then they lock the doors for 5 minutes or whatever.