Hi Dave,
Dave Tang wrote:
explain to me the answer. My motivation for this question is primarily
due to interest and if someday someone asks me how is Perl good for
biology (most biological data is stored as flat files).
As others have said, it is perhaps because Perl got into it first tha
From: "Shawn H. Corey"
> Dave Tang wrote:
> > I wanted to ask why is Perl, in comparison to other programming
> > languages, so powerful in text processing?
>
> Undoubtedly, when it was written, Perl was the most powerful text
> processing language available. This is no longer the case (thanks
?? "Shawn H. Corey" ?
Dave Tang wrote:
I wanted to ask why is Perl, in comparison to other programming
languages, so powerful in text processing?
Undoubtedly, when it was written, Perl was the most powerful text
processing language available. This is no longer the case (thanks
largely t
On Thursday 03 September 2009 06:44:40 Uri Guttman wrote:
> > "SHC" == Shawn H Corey writes:
>
> SHC> Dave Tang wrote:
> >> I wanted to ask why is Perl, in comparison to other programming
> >> languages, so powerful in text processing?
>
> SHC> Undoubtedly, when it was written, Perl
On Wed, Sep 2, 2009 at 23:20, Shawn H. Corey wrote:
> Dave Tang wrote:
>>
>> I wanted to ask why is Perl, in comparison to other programming languages,
>> so powerful in text processing?
>
> Undoubtedly, when it was written, Perl was the most powerful text processing
> language available. This is
On Wed, Sep 2, 2009 at 21:39, Dave Tang wrote:
> Hi everybody,
>
> I constantly read about Perl's powerful regular expression matching and
> string manipulation operators, and how it is superior to other programming
> languages in this aspect.
snip
* Regexes are first class citizens in Perl, in o
> "SHC" == Shawn H Corey writes:
SHC> Dave Tang wrote:
>> I wanted to ask why is Perl, in comparison to other programming
>> languages, so powerful in text processing?
SHC> Undoubtedly, when it was written, Perl was the most powerful text
SHC> processing language available. This i
On Thu, 03 Sep 2009 13:18:44 +1000, Uri Guttman
wrote:
"TB" == Tim Bowden writes:
TB> On Thu, 2009-09-03 at 11:39 +1000, Dave Tang wrote:
>> I wanted to ask why is Perl, in comparison to other programming
>> languages, so powerful in text processing? I read
>> http://en.wikipedia.
Dave Tang wrote:
I wanted to ask why is Perl, in comparison to other programming
languages, so powerful in text processing?
Undoubtedly, when it was written, Perl was the most powerful text
processing language available. This is no longer the case (thanks
largely to Perl :). Today's scripti
> "TB" == Tim Bowden writes:
TB> On Thu, 2009-09-03 at 11:39 +1000, Dave Tang wrote:
>> I wanted to ask why is Perl, in comparison to other programming
>> languages, so powerful in text processing? I read
>> http://en.wikipedia.org/wiki/Perl#Features, and that doesn't really
>> exp
On Thu, 2009-09-03 at 11:39 +1000, Dave Tang wrote:
> Hi everybody,
>
> I constantly read about Perl's powerful regular expression matching and
> string manipulation operators, and how it is superior to other programming
> languages in this aspect.
>
> Furthermore, I read this in the wikipedi
Hi everybody,
I constantly read about Perl's powerful regular expression matching and
string manipulation operators, and how it is superior to other programming
languages in this aspect.
Furthermore, I read this in the wikipedia entry of Perl:
"The language provides powerful text processin
On 4/6/07, Dr.Ruud <[EMAIL PROTECTED]> wrote:
Jeff Pang schreef:
> $fname =~ s/^\s+|\s+$//g;
Alternative:
s/^\s+//, s/\s+$// for $fname;
snip
Just because I like hard numbers when comparing methods:
Rate one_regex two_regex
one_regex 34.0/s-- -67%
two_regex 10
Jeff Pang schreef:
> $fname =~ s/^\s+|\s+$//g;
Alternative:
s/^\s+//, s/\s+$// for $fname;
Test:
perl -wle'
$s = " abc ";
s/^\s+//, s/\s+$// for $s;
print "<$s>"
'
--
Affijn, Ruud
"Gewoon is een tijger."
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands
>I;m trying to parse one text file and insert it into database .
>Here is the example of Data
>CONTACT : Chemico Ltd.
>MANAGER : Michael Kor
>STATE: Blagoevgrad
>CODE : 4005
>City: Blagoevgrad
>Address : Neupaoer Str. 1
>Phone : 073/880755
>Name : Valeri lItov lItov - Cadr
>Name : Nikoilai Miche
Hi to all,
I;m trying to parse one text file and insert it into database .
Here is the example of Data
CONTACT : Chemico Ltd.
MANAGER : Michael Kor
STATE: Blagoevgrad
CODE : 4005
City: Blagoevgrad
Address : Neupaoer Str. 1
Phone : 073/880755
Name : Valeri lItov lItov - Cadr
Name : Nikoilai Michev
Christopher,
You wrote...
"The L in L54 would tell me what the data actually means, but the 54 is the
part of that data I need to file based on the L it was attached too."
Here is one way to do it...
$test = "L54";
$pattern = "L";
if ($test =~/^$pattern/) {
$test =~ s/^$pattern//;
}
print "$
September 2001 19:21
> To: [EMAIL PROTECTED]
> Subject: Doing some text parsing
>
>
> Hello,
>
> This is my first message to [EMAIL PROTECTED] so I'm not completely sure
> of the proper method of asking questions.
>
> First: Is there a web-based archive of this
ct me.
}
}
-Original Message-
From: Christopher Fisk [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 04, 2001 1:21 PM
To: [EMAIL PROTECTED]
Subject: Doing some text parsing
Hello,
This is my first message to [EMAIL PROTECTED] so I'm not completely sure
of the proper method of asking
Hello,
This is my first message to [EMAIL PROTECTED] so I'm not completely sure
of the proper method of asking questions.
First: Is there a web-based archive of this list? If So where?
Second: I'm trying to parse some text for a decoding program. How would I
decode something based on the firs
20 matches
Mail list logo