2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
5 <title>B::Terse - Walk Perl syntax tree, printing terse info about ops
</title>
6 <meta http-equiv=
"content-type" content=
"text/html; charset=utf-8" />
7 <link rev=
"made" href=
"mailto:" />
10 <body style=
"background-color: white">
11 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
12 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
13 <big><strong><span class=
"block"> B::Terse - Walk Perl syntax tree, printing terse info about ops
</span></strong></big>
17 <p><a name=
"__index__"></a></p>
22 <li><a href=
"#name">NAME
</a></li>
23 <li><a href=
"#synopsis">SYNOPSIS
</a></li>
24 <li><a href=
"#description">DESCRIPTION
</a></li>
25 <li><a href=
"#author">AUTHOR
</a></li>
32 <h1><a name=
"name">NAME
</a></h1>
33 <p>B::Terse - Walk Perl syntax tree, printing terse info about ops
</p>
37 <h1><a name=
"synopsis">SYNOPSIS
</a></h1>
39 perl -MO=Terse[,OPTIONS] foo.pl
</pre>
43 <h1><a name=
"description">DESCRIPTION
</a></h1>
44 <p>This version of B::Terse is really just a wrapper that calls B::Concise
45 with the
<strong>-terse
</strong> option. It is provided for compatibility with old scripts
46 (and habits) but using B::Concise directly is now recommended instead.
</p>
47 <p>For compatibility with the old B::Terse, this module also adds a
48 method named
<code>terse
</code> to B::OP and B::SV objects. The B::SV method is
49 largely compatible with the old one, though authors of new software
50 might be advised to choose a more user-friendly output format. The
51 B::OP
<code>terse
</code> method, however, doesn't work well. Since B::Terse was
52 first written, much more information in OPs has migrated to the
53 scratchpad datastructure, but the
<code>terse
</code> interface doesn't have any
54 way of getting to the correct pad. As a kludge, the new version will
55 always use the pad for the main program, but for OPs in subroutines
56 this will give the wrong answer or crash.
</p>
60 <h1><a name=
"author">AUTHOR
</a></h1>
61 <p>The original version of B::Terse was written by Malcolm Beattie,
62 <<a href=
"mailto:mbeattie@sable.ox.ac.uk">mbeattie@sable.ox.ac.uk
</a>>. This wrapper was written by Stephen
63 McCamant,
<<a href=
"mailto:smcc@MIT.EDU">smcc@MIT.EDU
</a>>.
</p>
64 <table border=
"0" width=
"100%" cellspacing=
"0" cellpadding=
"3">
65 <tr><td class=
"block" style=
"background-color: #cccccc" valign=
"middle">
66 <big><strong><span class=
"block"> B::Terse - Walk Perl syntax tree, printing terse info about ops
</span></strong></big>