pmumps(1) - Linux man page

Name

pmumps - Stand alone ionterpreter for Language::Mumps

Synopsis

prompt % "pmumps file.mps"

prompt % "pmumps -t -o file.pl file.mps"

prompt % "pmumps -c file.mps"

prompt % "pmumps -f file.mps"

Description

Translate a Mumps file to perl and run. (Unless -t option is used for translate only). Use -c to cache the compiled Perl script for next executions. If you use -f, pmumps will treat leading 8 spaces in a line as a leading tab.

Caveats

Edit your ~/.pmumps or /etc/pmumps.cf to enable persistent databases.

Files

$BINDIR/pmumps Interpreter

~/.pmumps User configuration
/etc/pmumps.cf Site configuration

Author

Ariel Brosh

Copyright And License

Copyright 2000, Ariel Brosh.

Maintained by Steffen Mueller <smueller@cpan.org>.

Usage of this module is free, including commercial use, enterprise and legacy use. However, any modifications should be notified to the maintainer.

See Also

Language::Mumps, DB_File.

END_OF_SCRIPT use Config;

my $file = __FILE__; $file =~ s/\.PL$//;

$script =~ s/\~(\w+)\~/$Config{$1}/eg; if (!(open( FILE , ">$file")) || !(print FILE $script) || !(close( FILE ))) { die "Error while writing $file: $!\n"; } print "Extracted $file from ",__FILE__," with variable substitutions.\n";

if ( ! -f "/etc/pmumps.cf") {

$@ = undef; eval { require File::Copy; import File::Copy; };

die "Can't copy configuration: $@" if $@;

copy("mumps.cfg", "/etc/pmumps.cf");

print "Created /etc/pmups.cf\n";

}