I don't understand. What kind of "better way" do you imagine? The
interface is really simplified as it is. It works great and is easy to learn (I can't say the same about
). 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....)