1B::Terse(3pm) Perl Programmers Reference Guide B::Terse(3pm)
2
3
4
6 B::Terse - Walk Perl syntax tree, printing terse info about ops
7
9 perl -MO=Terse[,OPTIONS] foo.pl
10
12 This version of B::Terse is really just a wrapper that calls B::Concise
13 with the -terse option. It is provided for compatibility with old
14 scripts (and habits) but using B::Concise directly is now recommended
15 instead.
16
17 For compatibility with the old B::Terse, this module also adds a method
18 named "terse" to B::OP and B::SV objects. The B::SV method is largely
19 compatible with the old one, though authors of new software might be
20 advised to choose a more user-friendly output format. The B::OP "terse"
21 method, however, doesn't work well. Since B::Terse was first written,
22 much more information in OPs has migrated to the scratchpad
23 datastructure, but the "terse" interface doesn't have any way of
24 getting to the correct pad. As a kludge, the new version will always
25 use the pad for the main program, but for OPs in subroutines this will
26 give the wrong answer or crash.
27
29 The original version of B::Terse was written by Malcolm Beattie,
30 <mbeattie@sable.ox.ac.uk>. This wrapper was written by Stephen
31 McCamant, <smcc@MIT.EDU>.
32
33
34
35perl v5.10.1 2009-02-12 B::Terse(3pm)