|
pmumps - Stand alone ionterpreter for Language::Mumps |
pmumps - Stand alone ionterpreter for Language::Mumps
prompt % pmumps file.mps
prompt % pmumps -t -o file.pl file.mps
prompt % pmumps -c file.mps
prompt % 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.
=head1 AUTHOR
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.
the Language::Mumps manpage, the DB_File manpage.
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'';
}
|
pmumps - Stand alone ionterpreter for Language::Mumps |