----- Original Message ----- From: Chris Rodriguez To: perl-win32-users@listserv.ActiveState.com Sent: Friday, February 02, 2007 8:05 AM Subject: Re: checking for infinite loops
> Many thanks to Rob for doing this! > I do in fact have perl 5.6. I typed in Rob's modifications to my code, > hoping that perhaps all I needed was say, the "use warnings;" line of his. > But it still failed. > My error message includes "The Unsupported function alarm function is > unimplemented". Yep - seems pretty clear - though a little redundant :-) > So I'd like to get the later version of perl. That seems to be the thing. > I mean, Rob gets the results I want and what other difference is there? Not much - though bear in mind that both Chris and $Bill mentioned ways you could get the functionality you're after on perl 5.6.1 without using alarm(). I wouldn't suggest that you should upgrade just to get alarm() working - though I still think that upgrading is the way to go. > I have some general fears and questions about that though and if anyone > can allay my concerns I'd be grateful and plunge ahead. I have a bunch of > other programs I've written and find useful which work > fine in perl 5.6. > Will they all still work if I switch? Yes. (There are probably exceptions, though I can't think of any of the top of my head. If you do find a program that worked under perl 5.6, but fails under perl 5.8, it's most likely because that program makes use of a 5.6 bug that was fixed in 5.8.) > More generally speaking, will all that I know about perl (scant as it is) > still apply? Yes. (Again, there may be minor exceptions that I don't know of, but it's best to simply cross those bridges if and when you come to them.) . . > Secondly, how do I switch exactly? I went to that url and saw a bunch of > links for downloads, but I wouldn't know which distribution and platform > to choose. I assume one of the Windows ones, but x86 > or x64, and AS > package or MSI? Yes, you want a windows x86 package - x64 is for 64-bit operating systems. I think most people install the msi package (not sure why). I always install the AS (zip) package (not sure why). With the AS package, I just unzip the package to a temporary location, and then run 'installer.bat' (which is part of the package) to install perl to the location of my choice. After installation, the "temporary location" can be deleted. The installer.bat queries you on a number of issues. (If you're unsure, just accept the default.) >And once I click the proper link, are there other things I'll need to do? >Must I remove the old version? Not necessarily mandatory, but probably best for you to remove the old version first - given that you're still finding your way. > Must I reset something? I don't think so. After upgrading, just examine the output of running 'perl -v' to check that the correct perl is being found . . > And thirdly, just to be sure, can I mention again that I'm using Windows > ME - that strikes me as another possible difference between Rob and I. (I > assume Rob's using XP.) I don't know anything about Windows ME - but I don't think there's any cause for concern. (Yes, I am using XP - soon to upgrade to Vista.) Cheers, Rob _______________________________________________ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.ActiveState.com To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs