I don't understand. What kind of "better way" do you imagine? The
perlembed interface is really simplified as it is. It works great and is easy to learn (I can't say the same about
perlxs). Not only that, but you can load as many perl interpreters as you wish (though such functionality is not well-supported by perl.h). You can do all of that "unsafe" perl stuff in C while being able to handle everything else in Perl :-) This is actually the BEST way to write Perl code (if you're obsessive about such things....)
AgentM Systems nor Nasca Enterprises nor
Bone::Easy nor Macperl is responsible for the
comments made by
AgentM. Remember, you can build any logical system with NOR.