Re: activeperl

2008-09-04 Thread Vyacheslav Karamov
frazzmata пишет: I have a machine in my office without internet access. I want to download modules to install on that computer, but I Cant use ppm are there installers that dont require them to be made with some sort of dmake or nmake? of course if necessary I have visual C, so I guess I can do

Re: looping through multiple arrays

2008-09-04 Thread Jenda Krynicky
From: Bobby <[EMAIL PROTECTED]> > Hi, > > I have a large pipe delimited text file that i want to loop through > and sort out a column of data within that file. Let's call this column > $sizes. I want to group these different sizes into categories. i.e. > > @sizeA = ("A","B","C"); > @sizeB = ("D",

Re: Problem with Eval for Constructing AoA

2008-09-04 Thread Dr.Ruud
"John W. Krahn" schreef: > s/\\//g; > s/'/\\'/g; These two can be combined to s/(?=[\\'])/\\/g which I don't expect to be faster; it just makes it easier to add characters to be escaped. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail: [EMAIL PR

activeperl

2008-09-04 Thread frazzmata
I have a machine in my office without internet access. I want to download modules to install on that computer, but I Cant use ppm are there installers that dont require them to be made with some sort of dmake or nmake? of course if necessary I have visual C, so I guess I can do that if I need to..

Re: looping through multiple arrays

2008-09-04 Thread John W. Krahn
Raja Vadlamudi wrote: On Thu, Sep 4, 2008 at 12:36 PM, Raja Vadlamudi <[EMAIL PROTECTED]> wrote: On Thu, Sep 4, 2008 at 11:22 AM, Bobby <[EMAIL PROTECTED]> wrote: I have a large pipe delimited text file that i want to loop through and sort out a column of data within that file. Let's call thi

Re: looping through multiple arrays

2008-09-04 Thread Raja Vadlamudi
On Thu, Sep 4, 2008 at 12:36 PM, Raja Vadlamudi <[EMAIL PROTECTED]> wrote: > > > On Thu, Sep 4, 2008 at 11:22 AM, Bobby <[EMAIL PROTECTED]> wrote: > >> Hi, >> >> I have a large pipe delimited text file that i want to loop through and >> sort out a column of data within that file. Let's call this c

looping through multiple arrays

2008-09-04 Thread Bobby
Hi, I have a large pipe delimited text file that i want to loop through and sort out a column of data within that file. Let's call this column $sizes. I want to group these different sizes into categories. i.e. @sizeA = ("A","B","C"); @sizeB = ("D","E","F"); @sizeC = ("G","H","I"); This is what

Re: Problem with Eval for Constructing AoA

2008-09-04 Thread John W. Krahn
Gundala Viswanath wrote: Hi, Hello, This cowde below tries to convert the string in newick format into the corresponding data structure (Array of Array). But somehow the EVAL function doesn't work as expected. What's wrong with my code here? __BEGIN__ use Data::Dumper; use Carp; my $str =

Re: Problem with Eval for Constructing AoA

2008-09-04 Thread Mr. Shawn H. Corey
On Wed, 2008-09-03 at 23:51 -0700, Gundala Viswanath wrote: > my $str = "(foo,(bar,qux))"; #Newick format > print "$str\n"; > > my $ar = conv_newick2aoa($str); > print Dumper $ar ; > > sub conv_newick2aoa { > > my $nstr_in = shift; > my $nstr= $nstr_in; > for ($nstr) { >

Problem with Eval for Constructing AoA

2008-09-04 Thread Gundala Viswanath
Hi, This cowde below tries to convert the string in newick format into the corresponding data structure (Array of Array). But somehow the EVAL function doesn't work as expected. What's wrong with my code here? __BEGIN__ use Data::Dumper; use Carp; my $str = "(foo,(bar,qux))"; #Newick format pri

RE: perl if/then

2008-09-04 Thread Stewart Anderson
> -Original Message- > From: Dr.Ruud [mailto:[EMAIL PROTECTED] > Sent: 04 September 2008 10:11 > To: beginners@perl.org > Subject: Re: perl if/then > > [EMAIL PROTECTED] schreef: > > > if ($host eq $hostname) > > {next;} > > {$cmd="/usr/bin/rdist $args $srcdir ${host}:$destdir 2>&1";}

Re: perl if/then

2008-09-04 Thread Dr.Ruud
[EMAIL PROTECTED] schreef: > if ($host eq $hostname) > {next;} > {$cmd="/usr/bin/rdist $args $srcdir ${host}:$destdir 2>&1";} > else > {$cmd="/usr/local/bin/scp $scpargs $srcdir ${host}:/ 2>&1"; } That if has 2 blocks. -- Affijn, Ruud "Gewoon is een tijger." -- To unsubscribe, e-mail