git.shiar.nl
/
perl
/
schtarr.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
scmtomap: extract map data from scm
[perl/schtarr.git]
/
scmtomap
diff --git a/scmtomap
b/scmtomap
new file mode 100755
(executable)
index 0000000..
1c24020
--- /dev/null
+++ b/
scmtomap
@@ -0,0
+1,14
@@
+#!/usr/bin/env perl
+
+use strict;
+use warnings;
+
+use Archive::MoPaQ;
+
+@ARGV or die "Usage: $0 filename.scm\n";
+
+my $mpq = Archive::MoPaQ->new or die;
+print $mpq->open($ARGV[0]);
+$mpq->listopen("");
+$mpq->extract(1);
+