{"id":272,"date":"2013-03-27T21:00:00","date_gmt":"2013-03-27T21:00:00","guid":{"rendered":"http:\/\/www.b.shuttle.de\/hayek\/Hayek\/Jochen\/wp\/blog-en\/2013\/03\/27\/a-perl-module-on-cpan-for-dealing-with-zip-archives-iocompresszip\/"},"modified":"2020-12-04T18:54:44","modified_gmt":"2020-12-04T17:54:44","slug":"a-perl-module-on-cpan-for-dealing-with-zip-archives-iocompresszip","status":"publish","type":"post","link":"https:\/\/wp.jochen.hayek.name\/blog-en\/2013\/03\/27\/a-perl-module-on-cpan-for-dealing-with-zip-archives-iocompresszip\/","title":{"rendered":"a Perl module on CPAN for dealing with ZIP archives: IO::Compress::Zip"},"content":{"rendered":"<p>\t\t\t\t<a href=\"https:\/\/metacpan.org\/module\/IO::Compress::Zip#.UVLpM8ah3nM.blogger\">IO::Compress::Zip &#8211; Write zip files\/buffers &#8211; metacpan.org<\/a><\/p>\n<p>I found code, that makes use of this module. The 1st problem, I had to deal with: the file to be written into the ZIP archive and the ZIP archive both get named using absolute pathnames. That&#8217;s alright for the ZIP archive, but you usually don&#8217;t like archive members with absolute pathnames. The manual page describes, which feature deals with this (&#8220;FilterName&#8221;), and it also gives a nice and short recipe.\t\t\t\t<\/p>\n","protected":false},"excerpt":{"rendered":"<p>IO::Compress::Zip &#8211; Write zip files\/buffers &#8211; metacpan.org I found code, that makes use of this module. The 1st problem, I had to deal with: the file to be written into the ZIP archive and the ZIP archive both get named using absolute pathnames. That&#8217;s alright for the ZIP archive, but you usually don&#8217;t like archive [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false,"_share_on_mastodon":"0"},"categories":[765,623,666],"tags":[],"class_list":["post-272","post","type-post","status-publish","format-standard","hentry","category-cpan","category-the-perl-programming-language","category-uncategorized"],"share_on_mastodon":{"url":"","error":""},"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/paO0kP-4o","jetpack_likes_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/272","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/comments?post=272"}],"version-history":[{"count":1,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/272\/revisions"}],"predecessor-version":[{"id":11440,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/posts\/272\/revisions\/11440"}],"wp:attachment":[{"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/media?parent=272"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/categories?post=272"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp.jochen.hayek.name\/blog-en\/wp-json\/wp\/v2\/tags?post=272"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}