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 datastruc‐
23 ture, but the "terse" interface doesn't have any way of getting to the
24 correct pad. As a kludge, the new version will always use the pad for
25 the main program, but for OPs in subroutines this will give the wrong
26 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 McCa‐
31 mant, <smcc@MIT.EDU>.
32
33
34
35perl v5.8.8 2001-09-21 B::Terse(3pm)