Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Journal of ambs (3914)

Sunday March 23, 2008
12:53 PM

Portability and strawberry Perl

[ #35965 ]

Installed strawberry Perl on my Windows XP, so I can test my Perl modules.

One of the modules I am writing at the moment is based on a big quantity of C code. Fortunately strawberry Perl includes a version of MingW C compiler, and a standard C library (unfortunately a little limited, as it does not include standard POSIX functions like sleep or mkstemp). In any way, after a day of C programming, my program compiled without major warning.

My problem, at the moment, is running the program. I have a strange problem with the open and read C functions. As I made a post on my blog about it, if you feel you are able to help me, please visit it at

Thank you in advance!

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.
  • Basically, under windows it must be made explicit if we are opening a binary or a textual file. So, open with flag O_BINARY.