Alien-Ditaa

 view release on metacpan or  search on metacpan

README  view on Meta::CPAN

DESCRIPTION
    Trivial wrapper to run ditaa from perl.

METHODS
  run_ditaa ($input_fn, $output_fn, [@args])
    Runs ditaa on the input file to produce an output png.

    See the ditaa documentation for additional arguments you may want (but
    probably don't).

    Returns the exit status of the java process (i.e. 0 for success)

  last_run_output
    The STDOUT of the child java process running ditaa for the last call to
    the "run_ditaa" method. This is not normally useful except as
    information to help debug the problem when a run fails.

SEE ALSO
    <http://ditaa.sourceforge.net>

INCLUDED SOFTWARE
    An unmodified copy of the latest varion of ditaa.jar is included in this
    package. The latest version and source code can be obtained from the URI
    above.

inc/Module/Install.pm  view on Meta::CPAN

		open( FH, '>', $_[0] ) or die "open($_[0]): $!";
	} else {
		open( FH, "> $_[0]"  ) or die "open($_[0]): $!";
	}
	foreach ( 1 .. $#_ ) {
		print FH $_[$_] or die "print($_[0]): $!";
	}
	close FH or die "close($_[0]): $!";
}

# _version is for processing module versions (eg, 1.03_05) not
# Perl versions (eg, 5.8.1).
sub _version ($) {
	my $s = shift || 0;
	my $d =()= $s =~ /(\.)/g;
	if ( $d >= 2 ) {
		# Normalise multipart versions
		$s =~ s/(\.)(\d{1,3})/sprintf("$1%03d",$2)/eg;
	}
	$s =~ s/^(\d+)\.?//;
	my $l = $1 || 0;

inc/Module/Install/Win32.pm  view on Meta::CPAN


  http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe
      or
  ftp://ftp.microsoft.com/Softlib/MSLFILES/Nmake15.exe

Please download the file manually, save it to a directory in %PATH% (e.g.
C:\WINDOWS\COMMAND\), then launch the MS-DOS command line shell, "cd" to
that directory, and run "Nmake15.exe" from there; that will create the
'nmake.exe' file needed by this module.

You may then resume the installation process described in README.

-------------------------------------------------------------------------------
END_MESSAGE

}

1;

inc/Module/Install/WriteAll.pm  view on Meta::CPAN

	# Until ExtUtils::MakeMaker support MYMETA.yml, make sure
	# we clean it up properly ourself.
	$self->realclean_files('MYMETA.yml');

	if ( $args{inline} ) {
		$self->Inline->write;
	} else {
		$self->Makefile->write;
	}

	# The Makefile write process adds a couple of dependencies,
	# so write the META.yml files after the Makefile.
	if ( $args{meta} ) {
		$self->Meta->write;
	}

	# Experimental support for MYMETA
	if ( $ENV{X_MYMETA} ) {
		if ( $ENV{X_MYMETA} eq 'JSON' ) {
			$self->Meta->write_mymeta_json;
		} else {

lib/Alien/Ditaa.pm  view on Meta::CPAN


=head1 METHODS

=head2 run_ditaa ($input_fn, $output_fn, [@args])

Runs ditaa on the input file to produce an output png.

See the ditaa documentation for additional arguments you
may want (but probably don't).

Returns the exit status of the java process (i.e. 0 for success)

=head2 last_run_output

The STDOUT of the child java process running ditaa for the last
call to the C<< run_ditaa >> method. This is not normally useful
except as information to help debug the problem when a run
fails.

=head1 SEE ALSO

L<http://ditaa.sourceforge.net>

=head1 INCLUDED SOFTWARE



( run in 0.405 second using v1.01-cache-2.11-cpan-454fe037f31 )