> On Wed, Dec 03, 2003 at 05:17:01PM -0600 Dan Muey wrote: > > > Doh! I was on 5.5, 5.8 just worked for me to, 5.6.1 also! > > In order to make your C code more portable across several > versions of the perlapi, you could use Devel::PPPort. > > perl -MDevel::PPPort -eDevel::PPPort::WriteFile > > will create ppport.h in the current directory. You could take > this file and #include it in your source code. Many macros > and some functions from recent perls are thus also available > in older perls. > > With this (it corresponds to the -b switch of h2xs) it's > relatively easy to write XS or XS-alike code that runs under > many Perl versions.
Excellent info, thanks! > > Tassilo -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] <http://learn.perl.org/> <http://learn.perl.org/first-response>