pmumps - Stand alone ionterpreter for Language::Mumps
prompt % pmumps file.mps
pmumps file.mps
prompt % pmumps -t -o file.pl file.mps
pmumps -t -o file.pl file.mps
prompt % pmumps -c file.mps
pmumps -c file.mps
prompt % pmumps -f file.mps
pmumps -f file.mps
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.
Edit your ~/.pmumps or /etc/pmumps.cf to enable persistent databases.
Ariel Brosh
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.
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";
}
To install Language::Mumps, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Language::Mumps
CPAN shell
perl -MCPAN -e shell install Language::Mumps
For more information on module installation, please visit the detailed CPAN module installation guide.