Re: ||= operator

2009-08-15 Thread Chas. Owens
On Fri, Aug 14, 2009 at 18:01, Noah Garrett Wallach wrote: > Telemachus wrote: >> >> On Fri Aug 07 2009 @  2:55, Admin wrote: >>> >>> Hi there, >>> >>> is there a page that explains the ||= operator and similar operators? >>> google is not quite finding the special characters in the first 10 hits.

Re: ||= operator

2009-08-15 Thread Owen
> Telemachus wrote: >> On Fri Aug 07 2009 @ 2:55, Admin wrote: >>> Hi there, >>> >>> is there a page that explains the ||= operator and similar >>> operators? >>> google is not quite finding the special characters in the first 10 >>> hits. >> Google and punctuation don't mix well, apparently. >>

Re: installing perl modules on 64-bit Os

2009-08-15 Thread Sisyphus
- Original Message - From: "perl pra" To: "Beginners List" Sent: Saturday, August 15, 2009 6:08 PM Subject: installing perl modules on 64-bit Os Hi Gurus, I have installed "ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi" on WindowsServer 2008 64-bit OS. I can run the scripts that

Re: ||= operator

2009-08-15 Thread Noah Garrett Wallach
Telemachus wrote: On Fri Aug 07 2009 @ 2:55, Admin wrote: Hi there, is there a page that explains the ||= operator and similar operators? google is not quite finding the special characters in the first 10 hits. Google and punctuation don't mix well, apparently. In any case, try perldoc perlo

Re: ||= operator

2009-08-15 Thread Noah Garrett Wallach
Shawn H. Corey wrote: Admin wrote: Hi there, is there a page that explains the ||= operator and similar operators? google is not quite finding the special characters in the first 10 hits. See http://perldoc.perl.org/perlop.html#Assignment-Operators the link is not helpful. there is no

Re: Seeing if any element of an array is in the current line

2009-08-15 Thread Bryan Harris
> Hello, I'm trying to write a simple Perl script to output certain lines > from a logfile that contain any of a few phrases. [clip] > my @goodlist = ("word1", "word2"); I had some fun with this one lately. =) perl -e '@gl=qw/word1 word2/; print grep {$t = $_;grep {$t=~/$_/} @gl } <>' I ca

Re: ||= operator

2009-08-15 Thread Noah Garrett Wallach
Chas. Owens wrote: On Mon, Aug 10, 2009 at 11:22, Bryan R Harris wrote: snip I think it's saying that just like: $a += 2; is the same as: $a = $a + 2; similarly: $a ||= 3; is the same as: $a = $a || 3; ... implying if $a is false, $a gets set to 3, otherwise it stays at whatever it w

Re: ||= operator

2009-08-15 Thread Noah Garrett Wallach
John W. Krahn wrote: Admin wrote: Hi there, Hello, is there a page that explains the ||= operator and similar operators? google is not quite finding the special characters in the first 10 hits. $left ||= $right is just short for: $left = $left || $right and || is the logical OR operator

Re: ||= operator

2009-08-15 Thread Noah Garrett Wallach
Chas. Owens wrote: On Fri, Aug 7, 2009 at 18:42, Admin wrote: Shawn H. Corey wrote: Admin wrote: Hi there, is there a page that explains the ||= operator and similar operators? google is not quite finding the special characters in the first 10 hits. See http://perldoc.perl.org/perlop.html#

installing perl modules on 64-bit Os

2009-08-15 Thread perl pra
Hi Gurus, I have installed "ActivePerl-5.10.0.1004-MSWin32-x86-287188.msi" on WindowsServer 2008 64-bit OS. I can run the scripts that I have written on 32-bit OS,My query is whats the processes of installing perl modules on 64-bit OS. In 32-bit we use nmake to install, how to install modules on