Re: Windows 7 64 bit Make.exe file

2011-01-18 Thread Sisyphus
- Original Message - From: "Sean Murphy" To: Sent: Tuesday, January 18, 2011 9:23 PM Subject: Windows 7 64 bit Make.exe file Hi all. I cannot install any CPAN libraries because CPAN complains that I don't have a 64 bit Make executible. I have installed the Express 2010 C++ package

Re: how to trap print() errors?

2011-01-18 Thread C.DeRykus
On Jan 17, 3:45 pm, dpchr...@holgerdanske.com (David Christensen) wrote: > Ron Bergin wrote: > > It's interesting that you found the warning message to be meaningless, > > but the exact same message was helpful when you told the pragma to > > raise the level of warnings to be fatal. > > I should ha

Re: Smart matching

2011-01-18 Thread Vladimir D Belousov
19.01.2011 0:43, Brian Fraser пишет: The smart match is no longer commutative - That was removed after 5.10.1, I think. http://www.learning-perl.com/?p=32 http://perldoc.perl.org/perlsyn.html#Smart-matching-in-detail Brian. Thank you! -- To unsubscribe, e-mail: beginners-unsubscr...@perl.or

Re: Smart matching

2011-01-18 Thread Brian Fraser
The smart match is no longer commutative - That was removed after 5.10.1, I think. http://www.learning-perl.com/?p=32 http://perldoc.perl.org/perlsyn.html#Smart-matching-in-detail Brian.

Re: Windows 7 64 bit Make.exe file

2011-01-18 Thread Brandon McCaig
On Tue, Jan 18, 2011 at 5:23 AM, Sean Murphy wrote: > I cannot install any CPAN libraries because CPAN complains that I don't have > a 64 bit Make executible. I have installed the Express 2010 C++ package from > Microsoft. It didn't help. > > I couldn't find anything on the web that clearly indi

Re: Smart matching

2011-01-18 Thread Vladimir D Belousov
19.01.2011 0:09, Uri Guttman пишет: but why don't you just call exists on the hash key? there is no win to using smart matching for that. it is included for consistancy but it isn't needed for hash keys. I just want to understand how does it work :) -- To unsubscribe, e-mail: beginners-uns

Windows 7 64 bit Make.exe file

2011-01-18 Thread Sean Murphy
Hi all. I cannot install any CPAN libraries because CPAN complains that I don't have a 64 bit Make executible. I have installed the Express 2010 C++ package from Microsoft. It didn't help. I couldn't find anything on the web that clearly indicated what was required to resolve this issue. Any h

Re: Smart matching

2011-01-18 Thread Uri Guttman
> "VDB" == Vladimir D Belousov writes: VDB> I'm trying to check whether the given key exists in the hash. smart matching is powerful and cool but why don't you just call exists on the hash key? there is no win to using smart matching for that. it is included for consistancy but it isn't ne

Smart matching

2011-01-18 Thread Vladimir D Belousov
I'm trying to check whether the given key exists in the hash. The simple example: use feature ':5.10'; my %a = (a => 1, b => 2); say %a ~~ 'a' ? 'YES' : 'NO';# says NO -- why? say %a ~~ 'c' ? 'YES' : 'NO';# says NO say 'a' ~~ %a ? 'YES' : 'NO';# says YES say 'c' ~~ %a ? 'YES' : 'NO';

Re: Perl Mail::Sendmail encoding problem

2011-01-18 Thread Uri Guttman
> "SF" == Shlomi Fish writes: SF> Don't slurp files this way: SF> http://perl-begin.org/tutorials/bad-elements/#slurp if you are going to show a slurp sub in your tutorial at least show a good one. look at my slurp article in the File::Slurp distro for a better and faster one. avoiding

Re: How to convert EURO Symbol € character to Hex

2011-01-18 Thread Khabza Mkhize
I have end up using ASCII Encoding instant of UTF-8 it does not find any thing if I use 'BC' . chr(0x20AC) . '01' then i change to 'BC' . chr(0x80) . '01' The following code works if ( $euros eq 'BC' . chr(0x80) . '01' ) { # 0x20AC is the hexadecimal value of € # ... } which I

Re: Perl Mail::Sendmail encoding problem

2011-01-18 Thread Shlomi Fish
Hi sync, On Tuesday 18 Jan 2011 03:17:21 sync wrote: > Greetings all, > > I have to send emails through a smtp server, with Chinese character > encoding. > > > In details , the encoding of my send mail is UTF-8, but the encoding of > > others received is GB2321 , so it will apprears with "w

Re: regex for matching Google URLs

2011-01-18 Thread Octavian Rasnita
From: "Uri Guttman" "AM" == Alexey Mishustin writes: AM> I used brackets not for storing but for combining in order to use the AM> combined patterns in alternation. the point is parens (the correct term. brackets are []) is they will grab the match inside them and store it in $1 and friend

Module supporting certifics

2011-01-18 Thread Sean Murphy
Hi All. what modules are out there that support ssl certificis that would work with WPL? Sean

Re: regex for matching Google URLs

2011-01-18 Thread Alexey Mishustin
1/18/2011, "Uri Guttman" вы писали: >> "AM" == Alexey Mishustin writes: > > AM> 1/18/2011, "Uri Guttman" РІС‹ писали: > > >>> "AM" == Alexey Mishustin writes: > >> > AM> I used brackets not for storing but for combining in order to use the > AM> combined patterns in altern

Re: regex for matching Google URLs

2011-01-18 Thread Uri Guttman
> "AM" == Alexey Mishustin writes: AM> 1/18/2011, "Uri Guttman" вы писали: >>> "AM" == Alexey Mishustin writes: >> AM> I used brackets not for storing but for combining in order to use the AM> combined patterns in alternation. >> >> the point is parens >> (the corre

Re: regex for matching Google URLs

2011-01-18 Thread Uri Guttman
> "AM" == Alexey Mishustin writes: AM> 1/18/2011, "Alexey Mishustin" вы писали: >> I meant >> >> (imgres) >> >> OR >> >> (images) >> >> OR >> >> (products) AM> Uri wrote the correct alternation for that: AM> (imgres|images|products) AM> So, I should wri

Re: regex for matching Google URLs

2011-01-18 Thread Alexey Mishustin
1/18/2011, "Uri Guttman" вы писали: >> "AM" == Alexey Mishustin writes: > > AM> I used brackets not for storing but for combining in order to use the > AM> combined patterns in alternation. > >the point is parens >(the correct term. brackets are []) Eh... Useful correction. And what is

Re: regex for matching Google URLs

2011-01-18 Thread Alexey Mishustin
1/18/2011, "Uri Guttman" вы писали: >> "AM" == Alexey Mishustin writes: > AM> /(www.){0,1}(google\.).*\/(imgres)|(images)|(products)\?{0,1}/ > >> > >> {0,1} is just ? by itself. > > AM> Yes, I know. But I like the {a,b} syntax more :) It's more uniform than > AM> ?,+,* etc. > >it is

Fwd: How to convert EURO Symbol € character to Hex

2011-01-18 Thread Khabza Mkhize
I have program which write data to SQL Database, one of my input field is € but it was working fine all along one day one of my user was working from home using remote connection to the office. He save some data when come back found all data that include euro € character have weird like "BC�01"

Re: regex for matching Google URLs

2011-01-18 Thread Uri Guttman
> "AM" == Alexey Mishustin writes: AM> I used brackets not for storing but for combining in order to use the AM> combined patterns in alternation. the point is parens (the correct term. brackets are []) is they will grab the match inside them and store it in $1 and friends. grouping with

Re: regex for matching Google URLs

2011-01-18 Thread Uri Guttman
> "AM" == Alexey Mishustin writes: AM> 1/18/2011, "Uri Guttman" вы писали: >>> "AM" == Alexey Mishustin writes: >> AM> /(www.){0,1}(google\.).*\/(imgres)|(images)|(products)\?{0,1}/ >> >> {0,1} is just ? by itself. AM> Yes, I know. But I like the {a,b} syntax more :) I

Re: regex for matching Google URLs

2011-01-18 Thread Alexey Mishustin
1/18/2011, "Alexey Mishustin" вы писали: >I meant > >(imgres) > >OR > >(images) > >OR > >(products) Uri wrote the correct alternation for that: (imgres|images|products) So, I should write /(www\.){0,1}(google\.).*\/(imgres|images|products)\?{0,1}/ -- Regards, Alex -- To unsubscribe, e-mai

Re: regex for matching Google URLs

2011-01-18 Thread Alexey Mishustin
1/18/2011, "John W. Krahn" вы писали: >Alexey Mishustin wrote: >> >> 1/18/2011, "Grant" вы писали: >> >>> I came up with these but they don't seem to work reliably: >>> >>> /\.google\..*\/imgres\?/ >>> /\.google\..*\/images\?/ >>> /\.google\..*\/products\?/ >> >> /(www.){0,1}(google\.).*\/(imgr