Norman Vine writes:
but what worries me is how to translate a chunk of binary data
into perl variables ... probably easy once you know the tricks.
http://www.swig.org
Last time I looked at swig, it was for creating bindings for native
libraries from include files.
Try
perldoc -f
David Megginson
Norman Vine writes:
but what worries me is how to translate a chunk of binary data
into perl variables ... probably easy once you know the tricks.
http://www.swig.org
Last time I looked at swig, it was for creating bindings for native
libraries from include
Norman Vine writes:
Last time I looked at swig, it was for creating bindings for native
libraries from include files.
Not really sure what you mean by that David but SWIG is designed
to extend scripting languages with application specific knowledge
It is true that it gleens this
David Megginson
Norman Vine writes:
Last time I looked at swig, it was for creating bindings for native
libraries from include files.
Not really sure what you mean by that David but SWIG is designed
to extend scripting languages with application specific knowledge
It is
David Megginson wrote:
Last time I looked at swig, it was for creating bindings for native
libraries from include files.
Try
perldoc -f pack
perldoc -f unpack
Perl has excellent support for this kind of thing, once you get your
head around it.
BIG WARNING: The pack/unpack facilities
Andy Ross writes:
This is trivially fixable by clearing $ENV{LANG} in scripts where you
want to call pack/unpack, but it is very non-obvious if you aren't
prepared for it.
Thanks for the warning. Problems aside, I'm very happy to hear that
Perl is supporting UTF-8 better now.
All the
I'm playing around with an external perl script[1] for flightgear. I've
been using the http interface, but as I do more and more things, that
is turning out to be a performance bottleneck. Has anyone interfaced
to FlightGear's telnet service from a perl script. I'm sure I could
figure it out,
Curtis L. Olson
but what worries me is how to translate a chunk of
binary data into perl variables ... probably easy once you know the
tricks.
http://www.swig.org
Norman
___
Flightgear-devel mailing list
[EMAIL PROTECTED]
Norman Vine wrotes:
Curtis L. Olson writes:
but what worries me is how to translate a chunk of
binary data into perl variables ... probably easy once you know the
tricks.
http://www.swig.org
for example if you extract the included tarball somewhere
and assuming you have swig