{"id":6,"date":"2005-10-23T14:31:56","date_gmt":"2005-10-23T19:31:56","guid":{"rendered":"http:\/\/www.chrisdolan.net\/talk\/?p=6"},"modified":"2005-10-23T14:37:45","modified_gmt":"2005-10-23T19:37:45","slug":"par-packaging-for-perl-applications","status":"publish","type":"post","link":"https:\/\/chrisdolan.net\/talk\/2005\/10\/23\/par-packaging-for-perl-applications\/","title":{"rendered":"PAR: Packaging for Perl applications"},"content":{"rendered":"<p><\/p>\n\n<p><\/p>\n\n<p><\/p>\n\n<p><\/p>\n\n<p><\/p>\n\n<pre><code>#!perl -w\nuse PAR 'foo.par';\nuse Foo;\n...\n<\/code><\/pre>\n\n<p><\/p>\n\n<pre><code>#!perl -w\nuse PAR 'http:\/\/www.example.com\/foo.par';\nuse Foo;\n...\n<\/code><\/pre>\n\n<p><\/p>\n\n<p><\/p>\n\n<p><\/p>\n\n<p><\/p>\n\n<pre><code>---- hello.pl ----\n#!perl -w\nuse strict;\nuse Tk;\nmy $mw = MainWindow-&gt;new;\n$mw-&gt;Label(-text =&gt; 'Hello, world!')-&gt;pack;\n$mw-&gt;Button(-text =&gt; 'Quit', -command =&gt; sub { exit })-&gt;pack;\nMainLoop;\n<\/code><\/pre>\n\n<p><\/p>\n\n<p><\/p>\n\n<p><\/p>\n\n<pre><code>\/sw\/bin\/pp -o hello hello.pl\n<\/code><\/pre>\n\n<p><\/p>\n\n<p><\/p>\n\n<p><\/p>\n\n<pre><code>% zipinfo hello\nArchive:  hello   3013468 bytes   689 files\ndrwxr-xr-x  2.0 unx        0 b- stor 23-Oct-05 14:21 lib\/\ndrwxr-xr-x  2.0 unx        0 b- stor 23-Oct-05 14:21 script\/\n-rw-r--r--  2.0 unx    20016 b- defN 23-Oct-05 14:21 MANIFEST\n-rw-r--r--  2.0 unx      210 b- defN 23-Oct-05 14:21 META.yml\n-rw-r--r--  2.0 unx     4971 b- defN 23-Oct-05 14:21 lib\/AutoLoader.pm\n-rw-r--r--  2.0 unx     4145 b- defN 23-Oct-05 14:21 lib\/Carp.pm\n... [snipped 679 lines] ...\n-rw-r--r--  2.0 unx    12966 b- defN 23-Oct-05 14:21 lib\/warnings.pm\n-rw-r--r--  2.0 unx      787 b- defN 23-Oct-05 14:21 lib\/warnings\/register.pm\n-rw-r--r--  2.0 unx      186 t- defN 23-May-05 22:22 script\/hello.pl\n-rw-r--r--  2.0 unx      262 b- defN 23-Oct-05 14:21 script\/main.pl\n689 files, 2742583 bytes uncompressed, 1078413 bytes compressed:  60.7%\n<\/code><\/pre>\n\n<p><\/p>\n\n<p><\/p>\n\n<p><\/p>\n\n<hr \/>\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>#!perl -w use PAR &#8216;foo.par&#8217;; use Foo; &#8230; #!perl -w use PAR &#8216;http:\/\/www.example.com\/foo.par&#8217;; use Foo; &#8230; &#8212;- hello.pl &#8212;- #!perl -w use strict; use Tk; my $mw = MainWindow-&gt;new; $mw-&gt;Label(-text =&gt; &#8216;Hello, world!&#8217;)-&gt;pack; $mw-&gt;Button(-text =&gt; &#8216;Quit&#8217;, -command =&gt; sub { exit })-&gt;pack; MainLoop; \/sw\/bin\/pp -o hello hello.pl % zipinfo hello Archive: hello 3013468 bytes 689 &hellip; <a href=\"https:\/\/chrisdolan.net\/talk\/2005\/10\/23\/par-packaging-for-perl-applications\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">PAR: Packaging for Perl applications<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"_links":{"self":[{"href":"https:\/\/chrisdolan.net\/talk\/wp-json\/wp\/v2\/posts\/6"}],"collection":[{"href":"https:\/\/chrisdolan.net\/talk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/chrisdolan.net\/talk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/chrisdolan.net\/talk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/chrisdolan.net\/talk\/wp-json\/wp\/v2\/comments?post=6"}],"version-history":[{"count":0,"href":"https:\/\/chrisdolan.net\/talk\/wp-json\/wp\/v2\/posts\/6\/revisions"}],"wp:attachment":[{"href":"https:\/\/chrisdolan.net\/talk\/wp-json\/wp\/v2\/media?parent=6"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/chrisdolan.net\/talk\/wp-json\/wp\/v2\/categories?post=6"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/chrisdolan.net\/talk\/wp-json\/wp\/v2\/tags?post=6"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}