Extending and Embedding Perl
Most of the available documentation on extending and embedding perl is written from the prospective of the core perl developers for core perl developers. This book is written for advanced Perl programmers who for whatever reason need or wish to peer into that netherworld between Perl, C, and the glue that interfaces Perl with other languages. It is a deliberate thorough guide led by authors that are both extremely knowledgeable and also capable of communicating that knowledge.
While it would greatly reduce the learning curve, no prior knowledge of C is required to read this book. This is a surprising claim and while it won't be easy, this reader is proof that someone with little true knowledge of C can in fact read and for the most part comprehend what the authors wish to convey.
There are clearly areas for improvement. Things like NULL being used throughout chapter 3, only to finally be defined later in a footnote in chapter 4. And other cases of terms being used before they are explained. Things that leave the reader juggling unnecessarily until the information is provided that lets understanding fall into place. But for the most part, if you are a competent juggler and are patient your questions will eventually be answered. You won't walk away a C programmer, but you will learn enough to solve the problems which led you to consider reading this book in the first place.
One thing I liked very much about the layout of the book is how it switches back between presenting sections on C programming and Perl. The authors revisit C each time it is necessary to understand the next Perl internals topic. Those that are learning C or need the review receive the relevant information just before it is required.
Over the course of the book, you'll learn about interfacing from Perl to C and C back to Perl. For those that must plug references to Tolkien in things Perl... you can go back and rephrase that into an appropriate reference to Bilbo's book "There and Back Again". You'll also learn the perl api, data structures for core variable types, and how to work with scalars, arrays, hashes, strings, regular expressions, file handles, typeglobs, typemaps, objects, callbacks and PDL with C and C++. And there is even mention of working with Fortran, Java, and more esoteric alternatives.
The book finishes with an in depth look at Perl internals: the parser, tokenizer, op code trees, execution, and compiler. And closes with a discussion of the Perl development process: How it may be monitored and participated in.
What's missing? Detailed coverage of the I/O subsystem and the regular expression engine. I.e., topics which might themselves make for a good book. There was also light coverage on things like scratchpads. There were times while reading when I didn't know whether the issue being discussed was fully covered or curtailed. But you will certainly find better coverage of the issues in this book than elsewhere. This is an impressive book. I hope it will greatly influence the way Perl6 internals are documented.
You can purchase Extending and Embedding Perl from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
ie ownz u
Next Post!! :-D
Did I make it?
...my penis in Nicole Kidman.
"Trollkore" is lame. Lamelamelamelamelame. So lame it hurts.
w00t w00t! That's what I call a ZIPPY SOMNETHING! BECAUSE YOU FAILED IT AND SO DID I!! If there is one thing I can say about SuSE Linux, it's that they know how to put together a desktop distro. This has been evident for quite some time, and nothing has changed. Their new Office Desktop release is built upon the solid foundation that is SuSE's desktop expertise.
I gave her a Perl Necklace.
I'm so infantile.
Trolling is a art,
FIRST PERSON
They_Tried_To_Warn_Us
by Paul Thompson
January 30, 2003
The Congressional Joint Inquiry into 9-11 is now finished, but the findings that have been released fail to mention any warnings from foreign governments. The US mainstream media also has paid little attention to warnings from foreign governments.
Yet there were so many warnings - from both our friends and enemies alike - often specifically suggesting the targets or method of attack. In at least one case, the warnings actually mentioned hijackers by name. This type of communication between intelligence agencies normally occurs in secret, so one can only wonder what additional warnings or details were provided to us that have never been made public.
No US publication has ever put all the various foreign government warnings in one place; even Internet skeptics of Bush have paid scant attention to this issue. Here, for the first time, is such a list of warnings.
First, General Warnings
In late 2000, British investigators teamed up with their counterparts in the Cayman Islands and began a yearlong probe of three Afghan men who had entered the Cayman Islands illegally. [Miami Herald, 9/20/01, Los Angeles Times, 9/20/01] In June 2001, the Afghan men were overheard discussing hijacking attacks in New York City, and were promptly taken into custody. This information was forwarded to US intelligence [Fox News, 5/17/02]. In late August 2001, shortly before the attacks, an anonymous letter to a Cayman radio station alleged these same men were al-Qaeda agents "organizing a major terrorist act against the US via an airline or airlines." [Miami Herald, 9/20/01, Los Angeles Times, 9/20/01, MSNBC, 9/23/01]
In late July 2001, Afghanistan's Foreign Minister Wakil Ahmed Muttawakil learned that Osama bin Laden was planning a "huge attack" on targets inside America. The attack was imminent, and would kill thousands, he learned from the leader of the rebel Islamic Movement of Uzbekistan, which was closely allied with al-Qaeda at the time. Muttawakil sent an emissary to pass this information on to the US Consul General, and another US official, "possibly from the intelligence services." Sources confirmed that this message was received, but supposedly not taken very seriously, because of "warning fatigue" arising from too many terror warnings. [Independent, 9/7/02, Reuters, 9/7/02]
Also in late July 2001, the US was given a "concrete warning" from Argentina's Jewish community. "An attack of major proportions" was planned against either the US, Argentina, or France. The information came from an unidentified intelligence agency. [Forward, 5/31/02]
An undercover agent from Morocco successfully penetrated al-Qaeda. He learned that bin Laden was "very disappointed" that the 1993 bombing had not toppled the World Trade Center, and was planning "large scale operations in New York in the summer or fall of 2001." He provided this information to the US in August 2001.[Agence France Presse, 11/22/01, International Herald Tribune, 5/21/02, London Times, 6/12/02]
Hasni Mubarak, President of Egypt, maintains that in the beginning of September 2001 Egyptian intelligence warned American officials that al-Qaeda was in the advanced stages of executing a significant operation against an American target, probably within the US. [AP, 12/7/01, New York Times, 6/4/02] He learned this information from an agent working inside al-Qaeda. [ABC News, 6/4/02]
Warnings the Attack Will Come from the Air
Many warnings specifically mentioned a threat coming from the air.
In 1999, British intelligence gave a secret report to the US embassy.The report stated that al-Qaeda had plans to use "commercial aircraft" in "unconventional ways", "possibly as flying bombs."[Sunday Times, 6/9/02] On July 16, 2001, British intelligence passed a message to the US that al-Qaeda was in "the final stages" of preparing a terrorist attack in Western countries. [London Times, 6/14/02] In early August, the British gave another warning, telling the US to expect multiple a
Sadly, I don't get cable TV... (Heh, a CPAN show would be a great idea: sort of like HSN, but no prices!)
Karma Police, come arrest this man...
They_Tried_To_Warn_Us
by Paul Thompson
January 30, 2003
The Congressional Joint Inquiry into 9-11 is now finished, but the findings that have been released fail to mention any warnings from foreign governments. The US mainstream media also has paid little attention to warnings from foreign governments.
Yet there were so many warnings - from both our friends and enemies alike - often specifically suggesting the targets or method of attack. In at least one case, the warnings actually mentioned hijackers by name. This type of communication between intelligence agencies normally occurs in secret, so one can only wonder what additional warnings or details were provided to us that have never been made public.
No US publication has ever put all the various foreign government warnings in one place; even Internet skeptics of Bush have paid scant attention to this issue. Here, for the first time, is such a list of warnings.
First, General Warnings
In late 2000, British investigators teamed up with their counterparts in the Cayman Islands and began a yearlong probe of three Afghan men who had entered the Cayman Islands illegally. [Miami Herald, 9/20/01, Los Angeles Times, 9/20/01] In June 2001, the Afghan men were overheard discussing hijacking attacks in New York City, and were promptly taken into custody. This information was forwarded to US intelligence [Fox News, 5/17/02]. In late August 2001, shortly before the attacks, an anonymous letter to a Cayman radio station alleged these same men were al-Qaeda agents "organizing a major terrorist act against the US via an airline or airlines." [Miami Herald, 9/20/01, Los Angeles Times, 9/20/01, MSNBC, 9/23/01]
In late July 2001, Afghanistan's Foreign Minister Wakil Ahmed Muttawakil learned that Osama bin Laden was planning a "huge attack" on targets inside America. The attack was imminent, and would kill thousands, he learned from the leader of the rebel Islamic Movement of Uzbekistan, which was closely allied with al-Qaeda at the time. Muttawakil sent an emissary to pass this information on to the US Consul General, and another US official, "possibly from the intelligence services." Sources confirmed that this message was received, but supposedly not taken very seriously, because of "warning fatigue" arising from too many terror warnings. [Independent, 9/7/02, Reuters, 9/7/02]
Also in late July 2001, the US was given a "concrete warning" from Argentina's Jewish community. "An attack of major proportions" was planned against either the US, Argentina, or France. The information came from an unidentified intelligence agency. [Forward, 5/31/02]
An undercover agent from Morocco successfully penetrated al-Qaeda. He learned that bin Laden was "very disappointed" that the 1993 bombing had not toppled the World Trade Center, and was planning "large scale operations in New York in the summer or fall of 2001." He provided this information to the US in August 2001.[Agence France Presse, 11/22/01, International Herald Tribune, 5/21/02, London Times, 6/12/02]
Hasni Mubarak, President of Egypt, maintains that in the beginning of September 2001 Egyptian intelligence warned American officials that al-Qaeda was in the advanced stages of executing a significant operation against an American target, probably within the US. [AP, 12/7/01, New York Times, 6/4/02] He learned this information from an agent working inside al-Qaeda. [ABC News, 6/4/02]
Warnings the Attack Will Come from the Air
Many warnings specifically mentioned a threat coming from the air.
In 1999, British intelligence gave a secret report to the US embassy.The report stated that al-Qaeda had plans to use "commercial aircraft" in "unconventional ways", "possibly as flying bombs."[Sunday Times, 6/9/02] On July 16, 2001, British intelligence passed a message to the US that al-Qaeda was in "the final stages" of preparing a terrorist attack in Western countries. [London Times, 6/14/02] In early August, the British gave another warning, telling the US to expect multiple a
I thought he changed his name to "Chemical Ali".