This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Use UVXf.
[perl5.git] / ext / B / B / Terse.pm
CommitLineData
a798dbf2 1package B::Terse;
c99ca59a 2use B::Concise;
a798dbf2
MB
3
4sub compile {
c99ca59a
SM
5 my @args = @_;
6 $args[0] = "-exec" if $args[0] eq "exec";
7 unshift @args, "-terse";
8 B::Concise::compile(@args);
a798dbf2
MB
9}
10
111;
7f20e9dd
GS
12
13__END__
14
15=head1 NAME
16
17B::Terse - Walk Perl syntax tree, printing terse info about ops
18
19=head1 SYNOPSIS
20
c99ca59a 21 perl -MO=Terse[,OPTIONS] foo.pl
7f20e9dd
GS
22
23=head1 DESCRIPTION
24
c99ca59a
SM
25This version of B::Terse is really just a wrapper that calls B::Concise
26with the B<-terse> option. It is provided for compatibility with old scripts
27(and habits) but using B::Concise directly is now recommended instead.
7f20e9dd
GS
28
29=head1 AUTHOR
30
c99ca59a
SM
31The original version of B::Terse was written by Malcolm Beattie,
32C<mbeattie@sable.ox.ac.uk>. This wrapper was written by Stephen McCamant,
33C<smcc@CSUA.Berkeley.EDU>.
7f20e9dd
GS
34
35=cut