On Tue Sep 01 2009 @ 10:44, Steve Bertrand wrote:
A good place to reference regex is [1].
[1]: http://perldoc.perl.org/perlretut.html
I will throw in my two cents and mention that if you are starting regular
expressions, you may find perldoc perlrequick a little more gentle, as an
On Wed, Sep 2, 2009 at 11:49, Telemachustelemac...@arpinum.org wrote:
On Tue Sep 01 2009 @ 10:44, Steve Bertrand wrote:
A good place to reference regex is [1].
[1]: http://perldoc.perl.org/perlretut.html
I will throw in my two cents and mention that if you are starting regular
expressions,
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
Hi there,
what is the way to collapse this search/replace to one line?
my $filename_cmd = $cmd[-1];
my $filename_cmd =~ s/\s/\./;
Cheers,
Noah
--
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/
At 7:22 PM -0700 9/2/09, Noah Garrett Wallach wrote:
Hi there,
what is the way to collapse this search/replace to one line?
my $filename_cmd = $cmd[-1];
my $filename_cmd =~ s/\s/\./;
(my $filename_cmd = $cmd[-1]) =~ s/\s/\./;
--
Jim Gibson
jimsgib...@gmail.com
--
To
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 wikipedia
TB == Tim Bowden tim.bow...@mapforge.com.au 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
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
On Thu, 03 Sep 2009 13:18:44 +1000, Uri Guttman u...@stemsystems.com
wrote:
TB == Tim Bowden tim.bow...@mapforge.com.au 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
SHC == Shawn H Corey shawnhco...@gmail.com 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.
Jim Gibson wrote:
At 7:22 PM -0700 9/2/09, Noah Garrett Wallach wrote:
Hi there,
what is the way to collapse this search/replace to one line?
my $filename_cmd = $cmd[-1];
my $filename_cmd =~ s/\s/\./;
(my $filename_cmd = $cmd[-1]) =~ s/\s/\./;
thanks,
okay a step further -
NGW == Noah Garrett Wallach noah-l...@enabled.com writes:
NGW Jim Gibson wrote:
At 7:22 PM -0700 9/2/09, Noah Garrett Wallach wrote:
Hi there,
what is the way to collapse this search/replace to one line?
my $filename_cmd = $cmd[-1];
my $filename_cmd =~ s/\s/\./;
Hi there,
what is the cleanest way to search a multi-line single scalar variable
full of configuration information. I want match on specific criteria
and then save a portion of the matched information in a hash or hashes
variable.
What is the best approach to doing this?
Cheers,
Noah
--
On Wed, Sep 2, 2009 at 21:39, Dave Tangd.t...@imb.uq.edu.au 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
NGW == Noah Garrett Wallach noah-l...@enabled.com writes:
NGW what is the cleanest way to search a multi-line single scalar variable
NGW full of configuration information. I want match on specific criteria
NGW and then save a portion of the matched information in a hash or hashes
NGW
On Wed, Sep 2, 2009 at 23:20, Shawn H. Coreyshawnhco...@gmail.com 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
On Thursday 03 September 2009 06:44:40 Uri Guttman wrote:
SHC == Shawn H Corey shawnhco...@gmail.com 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,
?? Shawn H. Corey shawnhco...@gmail.com?
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
18 matches
Mail list logo