[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
> -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";}
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
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) {
>
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 =
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
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
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
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..
"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
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",
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
12 matches
Mail list logo