RE: what?!? [OT]

2006-10-17 Thread Allegakoen, Justin Devanandan
--8<--- I wish we could have a y2k hype scare every year. I made a bundle in 99' "testing" for y2k compatibility. Anyone else? --8<--- I thought the next hype to wait for was Jan 19th 2038 03:14:07 Isn't that the max for 32 bit machines and their date representation? Just in ___

RE: Perl Abend on exit with Win32::CryptData

2006-10-17 Thread Webb, Andy
Win32::API is 0.41. Hmm. Will try on a couple different OS versions and see what happens. -Original Message- From: Sisyphus [mailto:[EMAIL PROTECTED] Sent: Monday, October 16, 2006 9:36 PM To: Webb, Andy; perl-win32-users@listserv.ActiveState.com Subject: Re: Perl Abend on exit with Win3

Re: what?!?

2006-10-17 Thread John Deighan
At 01:52 PM 10/17/2006, $Bill Luebkert wrote: >John Deighan wrote: > > > Trust me - all code has bugs in it. > >That's not true. If you slap a million lines together, then you >have a better chance, but a good programmer in a proper environment >doesn't write buggy code (or at least removes the bu

RE: what?!? [OT]

2006-10-17 Thread Chris O
> Does Perl have a Year 2000 problem? Is Perl Y2K compliant? I wish we could have a y2k hype scare every year. I made a bundle in 99' "testing" for y2k compatibility. Anyone else? - Chris ___ Perl-Win32-Users mailing list Perl-Win32-Users@listserv.Acti

Re: what?!?

2006-10-17 Thread Ted Schuerzinger
"$Bill Luebkert" <[EMAIL PROTECTED]> graced perl with these words of wisdom: >>Using that index returns >> incorrect data instead of an undefined value, which makes it much >> harder to detect that bug. Besides, what's so hard about >> saying [EMAIL

Re: what?!?

2006-10-17 Thread $Bill Luebkert
John Deighan wrote: > Trust me - all code has bugs in it. That's not true. If you slap a million lines together, then you have a better chance, but a good programmer in a proper environment doesn't write buggy code (or at least removes the bugs before going into production). You'd never get a

[no subject]

2006-10-17 Thread Spencer Chase
Greetings perl-win32-users, I am hoping to use the parallelport drv module by Scott Penrose which is available from CPAN. I want to use it on windows and it seems to require a separate win32 module. I can not find this on CPAN or anywhere else. I wrote to the author but have received no reply. Doe

Re: what?!?

2006-10-17 Thread John Deighan
At 11:35 AM 10/17/2006, $Bill Luebkert wrote: >John Deighan wrote: > > > > The problem comes when you have a function that computes an index, > > it's buggy and returns a negative number. > >The point is to debug your code properly. You can't expect buggy code >to work properly anywhere. This is

RE: how to initialize an array

2006-10-17 Thread Su, Yu (Eugene)
> -Original Message- > From: Joe Discenza [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 17, 2006 4:32 AM > To: Su, Yu (Eugene); perl-win32-users@listserv.ActiveState.com > Subject: RE: how to initialize an array > > > Su, Yu (Eugene) wrote, on Monday, October 16, 2006 8:52 PM > : How

RE: what?!?

2006-10-17 Thread Webb, Andy
:) I'd be willing to bet this particular feature won't bite you again. This is a good point to note how useful test first development is. http://perlunit.sourceforge.net If you start with the test/validation before even writing the code, you'll seldom have an issue with this in production. ---

RE: what?!?

2006-10-17 Thread Chris O
John Deighan wrote: >> The problem comes when you have a function that computes an index, >> it's buggy and returns a negative number. Bill wrote: > The point is to debug your code properly. You can't expect buggy code to work properly anywhere. This is just one spot where a bug in your code

Re: what?!?

2006-10-17 Thread $Bill Luebkert
John Deighan wrote: > > The problem comes when you have a function that computes an index, > it's buggy and returns a negative number. The point is to debug your code properly. You can't expect buggy code to work properly anywhere. This is just one spot where a bug in your code could cause yo

RE: what?!?

2006-10-17 Thread John Deighan
At 09:37 AM 10/17/2006, George Gallen wrote: >Referencing the last element of an array (-1) without having to get >the # of elements first, is VERY useful. Using other negative positions >might not have as many uses, but when you find one, You'll be glad >it's there. The problem comes when you hav

RE: what?!?

2006-10-17 Thread John Deighan
At 05:54 PM 10/16/2006, Barry Brevik wrote: > >Now, there's a great feature. If you index before the beginning of an > >array, it neither gives you a runtime error nor returns undef. What a > >If you are expecting the array index to begin at 0, then do some >bounds checking on your "complicated fu

RE: how to initialize an array

2006-10-17 Thread Joe Discenza
Su, Yu (Eugene) wrote, on Monday, October 16, 2006 8:52 PM : How to initialize an array? I want to get a median by using : Statistics::Descriptive. : I enter (12, 13, 14), (15, 16, 17), (16, 17, 18) I expect : 13,16,17. Instead, I get 13.00, 14.50, 16.00. : : I thought my @temp_array=(); in the