/usr/share/doc/libgraphviz-perl/examples/yacc.pl is in libgraphviz-perl 2.22-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | #!/usr/bin/perl -w
#
# This program shows the usage of GraphViz::Parse::Yacc
# to graph the Perl grammar
use strict;
use lib '../lib';
use GraphViz::Parse::Yacc;
my $g = GraphViz::Parse::Yacc->new('perly.output');
#print $g->as_text();
$g->as_png("yacc.png");
|