On Fri, 15 Jun 2001, Steve Howard wrote:
> I have recently come across references to the b module as a compiler. That
> was new to me, so I have been trying to learn how to use it. I read perldoc
> b but it doesn't even sound like what I had come to understand, and gave me
> no real clue as to how to use it even if it is.
I don't think it is what you think it is.
> Can anyone point me to a good walk-through example, or give me a good
> walk-through example of using B. And if I am not understanding right that B
> is a module to work with the C compiler to compile perl code into native
> executable programs please set me straight on that as well.
B is used to get at some of the deep magic inside the Perl compiler. It's
really not of much use to you unless you are creating new stuff for
compiling Perl. There is another module called O which provides more of a
frontend API to the Perl compiler. But if you are interested in creating
native executables, these modules are not what you are looking.
-- Brett
http://www.chapelperilous.net/btfwk/
------------------------------------------------------------------------
Beware of a tall blond man with one black shoe.