in reply to compiling Perl on Win32 so I can use Inline::C
If you grab the MS VC++ compiler, you can use Inline::C in combination with ActiveStates pre-built binaries. Saves a bunch of hassle.
Then again, once you have MS VC++, building Perl yourself is considerably easier anyway.
That said, why read a byte at a time? If your frames are fixed length, read or sysread a frame's worth of bytes and process the buffer a byte at a time. Then you can use Perl's string-wise and, or exlusive or and not to process whole strings together if that fits your purpose. And if not, you can always drop into C for that bit and leave the filehandling to perl.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: compiling Perl on Win32 so I can use Inline::C
by diana (Initiate) on Mar 03, 2005 at 04:21 UTC | |
by husker (Chaplain) on Mar 04, 2005 at 16:16 UTC |