RE: array output

2004-05-24 Thread Marcos . Rebelo
Doing a fork shall help. Child runs the system command and exit. Pather creats a new child for the rest. foreach my $cmd (@cmds) { if (fork() == 0) { # child system($cmd); exit(0); } } Is this what you need? Marcos -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL

Re: array output

2004-05-24 Thread DBSMITH
to hold 1 line. Will the diamond operator work here? derek Paul D. Kraus [EMAIL PROTECTED] 05/21/2004 04:39 PM To: [EMAIL PROTECTED] cc: [EMAIL PROTECTED] Subject:Re: array output Not completely sure what you are trying to do but you can join all

Re: array output

2004-05-21 Thread Paul D. Kraus
Not completely sure what you are trying to do but you can join all the elements like this my $mystring = join , @myarray; this will join each elements into one string seperated by a space. Paul On Fri, May 21, 2004 at 02:07:56PM -0400, [EMAIL PROTECTED] wrote: All, I have an array of 40