As we all have heard multiple times already, a real advantage of open source is the helpful community. You can just pop into an IRC channel, ask your questions, and bang, you have your answer.
Hah, just make sure to not visit #perl then.
Don't think that you get any reasonable answer when you post following question:
I have a small 15 line sample program which works correctly in Windows and Linux, but unfortunately not in SkyOS. A simple arithmetic operation failes. Could anyone tell me which source/function could be responsible for this?
I asked this in the hope to get a few hints where I can continue my debug session. (which I did for almost 6 hours to get the few lines of code to reproduce the error and make the work for the #perl people very easy).
Anyway, instead of hints I got following:
[18:53] RobertSze: Hi guys! I recently ported perl 5.8.8 to SkyOS. The port is know to work mostly because a lot of application use perl while building/compiling. (for instance: firefox, gtk, ...). Unfortunately it seems that there is a bug in the port which occures when running autoconf. Autoconf calls a lot of perl modules of which one failes. After debugging this for a while I have been able to reproduce this in a small program. (Link: .....). This programs works fine in windows and linux, but not in SkyOS. Has anyone an idea whats going wrong there?
After a long disussion and no answer I asked following:
RobertSze: is there something like a perl developer channel?
[18:58] amnesiac: RobertSze, and what do you think is this channel about?
[18:58] amnesiac: aahh, sorry this is #perl, we discuss life in here
[19:12] Ani-_: RobertSze: did you actual run the code you pasted?
[19:13] Ani-_: RobertSze: or did you simply select some random peieces of your code and posted those?
[19:14] Ani-_: RobertSze: and what is Skyos? And what perl version is that?
[19:15] RobertSze: Ani-_: (Link: http://www.skyos.org)http://www.skyos.org
[19:15] RobertSze: Ani-_: 5.8.8
[19:15] Ani-_: RobertSze, and why are you giving a script the extension of a module? .pm ==> module. Your code is not a module so don't use .pm.
[19:16] Ani-_: RobertSze: are you sure it's 5.8.8? Or are you simply guessing? (as in, how did you figure out it was 5.8.8?)
[19:16] RobertSze: Ani-_: I downloaded and ported it.
[19:16] RobertSze: (Link: http://www.cpan.org/src/stable.tar.gz)http://www.cpan.org/src/stable.tar.gz
[19:17] Ani-_: So YOU ported it? And then you are complaning that it doesn't work?
[19:17] dvtoo: that seems a little crazy
[19:18] Ani-_: YOU clearly did something wrong when porting it. Or maybe your system already has a perl?
[19:18] RobertSze: Ani-_: yes, I ported it and yes I try to get help on how to fix this problem
[19:18] Ani-_: Perhaps you need to run perl -V to verify it?
[19:18] Ani-_: RobertSze, I certainly wonder, did you botter running make test?
[19:18] RobertSze: it is definitely 5.8.8. SkyOS didn't have perl before
[19:19] Ani-_: Says you. I don't believe you. I only believe (to a certain extent) perl -V.
[19:19] RobertSze: Ani-_: man, I develop SkyOS and I know exactely whats running on it
[19:20] RobertSze: trust me, it is 5.8.8
[19:20] Ani-_: Yet you are unable to run make test and/or port Perl?
[19:20] obscurite: Stop antagonizing the poor man, Ani
[19:20] Ani-_: Or are you really saying that you did run make test and that no tests failed?
[19:20] obscurite: poor man/woman
[19:20] obscurite: I guess man, as they're called Robert
[19:21] obscurite: Anyway, did make test pass all tests?
[19:21] RobertSze: Ani-_: obviously something failes, as you can see in this very small TEST. Anyway, any ideas on what could be wrong there?
[19:22] RobertSze: obscurite: no, but the basic tests worked
[19:22] dvtoo: well, what you're doing is pretty basic
[19:22] dvtoo: and it's obviously not working...
[19:22] RobertSze: dvtoo: exactely, thats the reason why I'm here
And then after explaining more than three times that I had compiled perl without optimization (he didn't trust me again) I just gave up...
A 30 minute discussion where you just feel: oh my god, I'm so sorry, how can I imagine that I'm actually dignified to even talk to you. I'm so sorry, really sorry. Oh yes, and I will do my homework, I will learn how to actually use a compiler (what's that, btw?), and oh, I have to learn reading, 5.8.8 is not that easy to read, and btw, yes, of think I'm male.
Fortunately, most other people I had a talk with about problems while porting software were really friendly and helpful. (for instance: Mozilla, Mono, Blender, Freepascal, GCC, etc...).
For instance, once I had a bug when I ported Mono: The IL file had a few odd numbers in it after compiling an application. Something like: addl #-1.0e12 or something like that.
After a quick question in #mono I immediately got the name of a source file and a supposed line number range. Problem was the vsprintf implementation from SkyOS which was then fixed in a few minutes.
For these #perl people (to who I have talked to, because there are really competent and rational people on #perl too) I just hope that they will settle down a bit and try to give the OSS community a better image than this one.
Another sad experience...
Btw, Changelog updated.
After serveral hours of debugging the bug is now finally fixed.
Perl code print 0.1; didn't work correctly (returned zero). I found out the perl uses sprintf to stringify values:
sprintf(buf, "%g.15", (float)f); also didn't work correctly.
Precision 0 - 14 work correctly, anything above 14 returned invalid results. (for instance: 0.1 ==> 0.0);
 perl code
 sprintf(str, fmt)
 vprintf(fp, fmt0, ap)
 cvt(data, value, ndigits, flags, sign, decpt, ch, length)
 dtoa(mode, ndigits, decpt, sign, rve)
 d2b(_d, e, bits) <-- This function had to be fixed