Manning Publications
 
 
 
 
Extending and Embedding Perl       Extending and Embedding Perl
Tim Jenness and Simon Cozens

July 2002, Softbound, 384 pages
ISBN
Our price: $44.95

You can order this book from your bookstore
by using the ISBN and title listed above.

ebook Edition available now for
purchase and immediate download.
Only $22.50 -- 50% off the book price!

Extending and Embedding Perl explains how to expand the functionality and usefulness of the Perl programming language and how to use Perl from C programs. It begins simply but also covers complex issues using real code examples from the Perl source. The book discusses how to write interfaces to C libraries (as well as C++ and Fortran libraries). It shows you how to implement Perl callbacks for C libraries, how to pass Perl hashes and arrays between Perl and C, and how to use the Perl Data Language infrastructure to improve the speed of array operations.

Additionally, the book peers under the hood to see how the Perl programming language really works by looking at the interpreter. The make-up of Perl variables is discussed along with details on how a Perl program is parsed and converted to executable code.

What's Inside:

  • C For The Perl Programmer
  • Basic and Advanced XS
  • Embedding Perl in C Programs
  • Perl Internals
  • An API reference for the internal C interface to Perl
  • A reference on the typemap system
  • Embedding Perl into the mutt mail reader



ABOUT THE AUTHORS...

A Perl developer for 7 years, Tim Jenness has ten modules on CPAN including two that are distributed as part of the core Perl distribution (File::Temp and Pod::LateX).

Simon Cozens the author of Beginning Perl, was the release manager for the first four releases of the Perl 6 runtime engine, Parrot.