Chapter 41. Compiler Backends

To compile a Perl program foo.pl with the C backend, use:

perlcc -o foo foo.pl

To produce a cross-reference report of the line numbers at which all variables, subroutines, and formats are defined and used, use:

perl -MO=Xref,-d foo.pl

To see what Perl compiles your program into, use:

perl -MO=Deparse foo.pl

This shows exactly the precedence of Perl operators:

perl -MO=Deparse,-p foo.pl

The compiler backends are experimental.

perlcc, perlcompile.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset