Reini Urban

NAME

Od - Debug a Perl Compiler backend

SYNOPSIS

        perl -d -MOd=Backend[,OPTIONS] foo.pl

        Od::CODE(0x154c5a0)((eval 9)[lib/Od.pm:33]:25):
        25:                 &$compile();
        DB<1> s
        B::C::CODE(0x12c0aa0)(lib/B/C.pm:3163):
        3163:       return sub { save_main() };
        DB<1> s
        B::C::save_main(lib/B/C.pm:2881):
        2881:     my $warner = $SIG{__WARN__};

DESCRIPTION

This module is a debugging replacement to O, the Perl Compiler frontend, a source level debugger to step through a compiler.

It delays the start of the B compiler compile function from the CHECK block to the INIT block, so that the Perl debugger can be started there.

Note that Od handles the given options correctly, but does not step through the option handler. See Od_o to step-through the option handling part.

AUTHOR

Reini Urban, rurban@cpan.org 2009




Hosting generously
sponsored by Bytemark