B::Terse - Walk Perl syntax tree, printing terse info about ops
- perl -MO=Terse[,OPTIONS] foo.pl
This version of B::Terse is really just a wrapper that calls B::Concise with the -terse option. It is provided for compatibility with old scripts (and habits) but using B::Concise directly is now recommended instead.
For compatibility with the old B::Terse, this module also adds a
to B::OP and B::SV objects. The B::SV method is
largely compatible with the old one, though authors of new software
might be advised to choose a more user-friendly output format. The
method, however, doesn't work well. Since B::Terse was
first written, much more information in OPs has migrated to the
scratchpad datastructure, but the
interface doesn't have any
way of getting to the correct pad. As a kludge, the new version will
always use the pad for the main program, but for OPs in subroutines
this will give the wrong answer or crash.
The original version of B::Terse was written by Malcolm Beattie, <firstname.lastname@example.org>. This wrapper was written by Stephen McCamant, <smcc@MIT.EDU>.