Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 1260d7b12d3dce6ac9f6db19f9a9904c > files > 16

perl-GraphViz-2.04-6.fc15.noarch.rpm

#!/usr/bin/perl -w
#
# This script illustrates how Devel::GraphVizProf could be used

use strict;
use Config;
use IPC::Run qw(run);

my $perl = $Config{'perlpath'};

my($in, $out, $err);
run["$perl -I../lib -d:GraphVizProf primes_aux.pl > primes.dot; dot -Tpng primes.dot > primes.png"], \$in, \$out, \$err;