Perl/Tk saves your favorite tools

back: Atsar replacement -2
next: References -1

(source of an example implementation of a part of atsar) Perl provides some useful information about binary things.

If you have run h2ph when installing Perl (this is not done by default) you also have access to the constants which are defined in the C-header files. It is quite hard to get this to work with Perl's warnings on.

An other thing to be aware of, is that Perl-strings contain a length, so are not '\0' terminated as is C. If you have a list of C-type strings in one scalar, you just can split based on the '\0'.

Atsar replacement -2 References -1

Created by Mark Overmeer with PPresenter on 22 May 2000.