summaryrefslogtreecommitdiff
path: root/Master/tlpkg/tlperl/lib/auto/Storable/show_file_magic.al
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2011-02-17 15:54:37 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2011-02-17 15:54:37 +0000
commit9d55a4cf517a832c74e85179eac4239f9be8d2e7 (patch)
tree822f43e201b5fe5f20d07c831a0042b7280f85c5 /Master/tlpkg/tlperl/lib/auto/Storable/show_file_magic.al
parent2acf4c9396e980e00adbdc02f5a70eefc7122b55 (diff)
New tlperl part VII
git-svn-id: svn://tug.org/texlive/trunk@21429 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/tlperl/lib/auto/Storable/show_file_magic.al')
-rw-r--r--Master/tlpkg/tlperl/lib/auto/Storable/show_file_magic.al30
1 files changed, 30 insertions, 0 deletions
diff --git a/Master/tlpkg/tlperl/lib/auto/Storable/show_file_magic.al b/Master/tlpkg/tlperl/lib/auto/Storable/show_file_magic.al
new file mode 100644
index 00000000000..c7422c6648a
--- /dev/null
+++ b/Master/tlpkg/tlperl/lib/auto/Storable/show_file_magic.al
@@ -0,0 +1,30 @@
+# NOTE: Derived from ..\..\lib\Storable.pm.
+# Changes made here will be lost when autosplit is run again.
+# See AutoSplit.pm.
+package Storable;
+
+#line 96 "..\..\lib\Storable.pm (autosplit into ..\..\lib\auto\Storable\show_file_magic.al)"
+sub show_file_magic {
+ print <<EOM;
+#
+# To recognize the data files of the Perl module Storable,
+# the following lines need to be added to the local magic(5) file,
+# usually either /usr/share/misc/magic or /etc/magic.
+#
+0 string perl-store perl Storable(v0.6) data
+>4 byte >0 (net-order %d)
+>>4 byte &01 (network-ordered)
+>>4 byte =3 (major 1)
+>>4 byte =2 (major 1)
+
+0 string pst0 perl Storable(v0.7) data
+>4 byte >0
+>>4 byte &01 (network-ordered)
+>>4 byte =5 (major 2)
+>>4 byte =4 (major 2)
+>>5 byte >0 (minor %d)
+EOM
+}
+
+# end of Storable::show_file_magic
+1;