See the current Perl documentation for B::Debug.
Here is our local, out-dated (pre-5.6) version:

B::Debug - Walk Perl syntax tree, printing debug info about ops

perl -MO=Debug[,OPTIONS] foo.pl

See ext/B/README.
Malcolm Beattie, mbeattie@sable.ox.ac.uk