NAME

pmumps - Stand alone ionterpreter for Mumps.pm

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, schop@cpan.org

SEE ALSO

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";