Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /usr/share/doc/perl-GraphViz/examples/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/share/doc/perl-GraphViz/examples/make_all.pl
#!/usr/bin/perl -w

use strict;
use Config;
use IPC::Run qw(run);
$| = 1;

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

print "Attempting to make all images...\n";

my($in, $out, $err);

foreach my $file (sort <*.pl>) {
  next if $file =~ /make_all\.pl/;
  next if $file =~ /primes_aux\.pl/;
  next if $file =~ /redcarpet\.pl/;
  next if $file =~ /ppmgraph\.pl/;
  print "  Running $file...";
  run [$perl, "./$file"], \$in, \$out, \$err; # throw the output away
  print "done\n";
}

print "All images made.\n";

Hry