Re: issue with perl array code

2011-12-01 Thread Shlomi Fish
Hi Sunita, On Fri, 2 Dec 2011 01:24:05 -0500 wrote: > Hi All > > I have following code set of code which will have a > subroutine which has 2 parameters. The first parameter (VALUES) is a > reference to an array of non-sorted, hex strings. The second parameter > (RANGES)

issue with perl array code

2011-12-01 Thread Sunita.Pradhan
Hi All I have following code set of code which will have a subroutine which has 2 parameters. The first parameter (VALUES) is a reference to an array of non-sorted, hex strings. The second parameter (RANGES) is a reference to an array that is empty. The subroutine should f

Re: Make a script to run multiple scripts

2011-12-01 Thread Shlomi Fish
Hello Julian, On Thu, 1 Dec 2011 12:15:05 -0600 Julian Inesta wrote: > Ryan, > > You could do it like this. > > system("perl attachment.pl"); > system("perl attachment2.pl"); > > system("perl attachment7.pl"); > 1. This will not do what the original poster asked for. It will run the scr

Re: Make a script to run multiple scripts

2011-12-01 Thread Zachary Zebrowski
Or: use Proc::Background; my $x = Proc::Background->new("perl attachment.pl"); # Or correct args to launch script $x->wait(); # Wait for process to exit. More methods available. my $z = Proc::Background->new("perl attachmentN.pl"); $z->wait(); ... On Thu, Dec 1, 2011 at 1:25 PM, Shlomi Fish wr

Re: Make a script to run multiple scripts

2011-12-01 Thread Shlomi Fish
Hi Ryan, On Thu, 01 Dec 2011 12:38:56 -0500 "Ryan.Barracuda" wrote: > Hi all, > > I have 7 perl scripts that I want to run simultaneously from the command > line with the possibility of growing this number. I'm pretty new to perl, so > thought in the mean time it would be a good idea to create

Re: Make a script to run multiple scripts

2011-12-01 Thread Julian Inesta
Ryan, You could do it like this. system("perl attachment.pl"); system("perl attachment2.pl"); system("perl attachment7.pl"); On Thu, Dec 1, 2011 at 11:38 AM, Ryan.Barracuda wrote: > Hi all, > > I have 7 perl scripts that I want to run simultaneously from the command > line with the poss

Make a script to run multiple scripts

2011-12-01 Thread Ryan.Barracuda
Hi all, I have 7 perl scripts that I want to run simultaneously from the command line with the possibility of growing this number. I'm pretty new to perl, so thought in the mean time it would be a good idea to create a perl script to run multiple scripts. I could just add to this file as needed if

Re: multi-column array

2011-12-01 Thread Jeswin
On Thu, Dec 1, 2011 at 5:32 AM, Rob Dixon wrote: > > If I am understanding you correctly then there is no need for anything > so convoluted as your transpose subroutine. The program below does what > you need. > > HTH, > > Rob > > > use strict; > use warnings; > > my @unknown_abs = ( 0.1, 0.2, 0.3

Re: multi-column array

2011-12-01 Thread Rob Dixon
On 30/11/2011 23:06, Jeswin wrote: I've been trying to figure out how to print 2 arrays into 2 columns. I came across this code and it works but gives me a problem in the output. *BEGIN CODE* sub transpose { map { my $i = $

Re: multi-column array

2011-12-01 Thread Dermot
On 30 November 2011 23:06, Jeswin wrote: > I've been trying to figure out how to print 2 arrays into 2 columns. I > came across this code and it works but gives me a problem in the > output. > > *BEGIN > CODE* > sub transpose { >