Re: MSVCR71.dll error in ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi
- Original Message - From: "Chris O" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 26, 2008 7:33 AM Subject: MSVCR71.dll error in ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi > FYI, there appears to be a problem with the latest active perl release > (ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi). After installation, > when I try to use any DBI related module, perl crashes and windows > displays the error "this application has failed to start because > MSVCR71.dll was not found". This is on server 2003 sp1. > Does installing msvcr71.dll (into one of your "path" folders) fix the problem ? Cheers, Rob ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: Perl-Win32-Users Digest, Vol 19, Issue 16
On Mon, 25 Feb 2008 16:03:37 -0500, in perl David Golden <[EMAIL PROTECTED]> wrote: > On Mon, Feb 25, 2008 at 3:00 PM, > <[EMAIL PROTECTED]> wrote: >> > "David Golden" <[EMAIL PROTECTED]> wrote on 02/23/2008 03:00:19 PM: >> > > my $regex = join q{}, map { $num2chars[$_] } @digits; >> >> The only thing I would object to is the q{}. There's really no point >> in using the q{} operator ... it just confuses the point here. >> >> my $regex = join '', map { $num2chars[$_] } @digits; > > At least on my screen, the two '' looks just like a signle ". That's what fixed-width fonts are for. :-) -- Ted S. fedya at bestweb dot net ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: Perl-Win32-Users Digest, Vol 19, Issue 16
On Mon, Feb 25, 2008 at 3:00 PM, <[EMAIL PROTECTED]> wrote: > > "David Golden" <[EMAIL PROTECTED]> wrote on 02/23/2008 03:00:19 PM: > > > my $regex = join q{}, map { $num2chars[$_] } @digits; > > The only thing I would object to is the q{}. There's really no point > in using the q{} operator ... it just confuses the point here. > > my $regex = join '', map { $num2chars[$_] } @digits; At least on my screen, the two '' looks just like a signle ". Using q{} instead is a bit of PBP style I've come to adopt, but I can certainly see how it could be confusing to some. > And it could actually just as well be written as > > my $regex = join '', @[EMAIL PROTECTED]; > Except for my typo, which Woody pointed out. It should have been this: my $regex = join q{}, map { "[$num2chars[$_]]" } @digits; Though arguably, @num2chars could have been constructed to have the character class brackets already. I do think that map will be understood at a lower point of Perl fluency than slices, but that's a fairly arbitrary distinction. :-) In the actual contest entry, of course, the map was chained with the split, so it all just worked well together that way. Your slice syntax is more elegant, certainly. David ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
RE: MSVCR71.dll error in ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi
On Mon, 25 Feb 2008, Chris O wrote: > FYI, there appears to be a problem with the latest active perl release > (ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi). After installation, > when I try to use any DBI related module, perl crashes and windows > displays the error "this application has failed to start because > MSVCR71.dll was not found". This is on server 2003 sp1. I assume you installed additional modules from non-ActiveState repositories. None of the code compiled by ActiveState should reference MSVCR71.dll, so this dependency is most certainly generated by a third-party PPM package. Cheers, -Jan ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
MSVCR71.dll error in ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi
FYI, there appears to be a problem with the latest active perl release (ActivePerl-5.10.0.1002-MSWin32-x86-283697.msi). After installation, when I try to use any DBI related module, perl crashes and windows displays the error "this application has failed to start because MSVCR71.dll was not found". This is on server 2003 sp1. I found some info at http://support.microsoft.com/kb/895994 related to this error. - Chris ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: Perl-Win32-Users Digest, Vol 19, Issue 15
> "David Golden" <[EMAIL PROTECTED]> wrote on 02/23/2008 03:00:19 PM: > > my $regex = join q{}, map { $num2chars[$_] } @digits; The only thing I would object to is the q{}. There's really no point in using the q{} operator ... it just confuses the point here. my $regex = join '', map { $num2chars[$_] } @digits; And it could actually just as well be written as my $regex = join '', @[EMAIL PROTECTED]; which IMHO is even clearer. "Join together the chars that belong to the digits". Jenda = [EMAIL PROTECTED] === http://Jenda.Krynicky.cz = When it comes to wine, women and song, wizards are allowed to get drunk and croon as much as they like. -- Terry Pratchett in Sourcery ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
Re: Perl-Win32-Users Digest, Vol 19, Issue 15
"David Golden" <[EMAIL PROTECTED]> wrote on 02/23/2008 03:00:19 PM: > Well, it was written to be clever, not maintainable. :-) Point taken. I did mention that I was probably going to far in what was just a game. :-) > In response to Conway: clever algorithms are good; clever code is not so good. (sidebar: I used to teach this stuff. I had one student that used the names of dead russian authors for ALL variables. Finally learned the joys of sed and perltidy.) Clever algortithms, depending on how you mean that, is the whole game, except for those grunts who only make a money off coding. What makes coding a human art instead of a mechanical subject is creative play with ideas -- that whole data structures + algorithms thing. > my $regex = join q{}, map { $num2chars[$_] } @digits; > > That seems pretty straightforward code to me, rather than clever code. I don't think I disagree; but then I remember one class I took as a grad student: we have a visiting prof, and he was putting a proof up on the board. Threw up an introductory lemma, and announced "the proof is clear." The hosting professor took issue: a lively 30 minute discussion followed, where it was decided that indeed, the proof was obvious. obsSyntaxPoint -- its straightforward, but in the code you wrote above, you forgot the [] -- so the regex will miss the grouping.. unless I"m missing something. What you had in your earlier post was my $regex = join q{}, map { "[$num2chars[$_]]" } split //, , 7; ^ ^ And yes, once you *think* about it, its elegant. Its clever. You have natively translated the algorithmic idea into perl code. You've made it at least reasonably straightforward by using explicit join -- map -- splits instead of using obscure scalar vs. list properties. (Although, why not qr it?) And I like it much better than using a tr// which you have to put inside an eval. Which makes it a good solution for a game. > It's great that you're enjoying Perl Best Practices, but many of those > recommendations do require some healthy skepticism and Damian's > introduction (I think) makes the point that they are just one opinion Very true. I read an interview where they asked him about the differences between his 2^8 and Wall's 5*8, and his comment was that both held up. What I find is that while there are a couple of things that I disagree with (e.g. the use of postfix selectors) I think the point is that you have to have *something*. [I usually start with Weinburg's Ten Commandments, but that isn't coding specific.] Conway's are well thought out, reasonably consensual, and based on more experience than I (and probably thee). But consider the audience for the game -- it strikes me that these are more likely to be someone either new to perl or relatively new to programming. These are the kinds of problems that you ask of students half way through a semester. And they would do very well indeed to learn style from PBP. --woody -- Dr. Robert "Woody" WeaverSecurity, Privacy, Wireless, and IT Governance IT Security ArchitectPhone: 240-782-4260 -- There are still some other things to do, so don't think if I didn't fix your favorite bug that your bug report is in the bit bucket. (It may be, but don't think it. :-) Larry Wall in <[EMAIL PROTECTED]>___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs