{"id":8476,"date":"2012-11-29T12:56:56","date_gmt":"2012-11-29T18:56:56","guid":{"rendered":"http:\/\/bucktownbell.com\/?p=8476"},"modified":"2012-11-29T12:58:46","modified_gmt":"2012-11-29T18:58:46","slug":"perltk-tutorial-create-gui-with-perls-tk-module","status":"publish","type":"post","link":"http:\/\/bucktownbell.com\/?p=8476","title":{"rendered":"Perl\/Tk Tutorial &#8211; Create GUI with Perl&#8217;s Tk Module"},"content":{"rendered":"<blockquote><p>In <strong>Unix\/Linux<\/strong> you can execute your perl scripts by typing &#8220;<strong><em>perl &lt;filename&gt;<\/em><\/strong>&#8221; at command prompt. But before you do that make sure you have <strong>both<\/strong> Perl and its Tk module. Most linux distributions have perl &#8211; but quite a few don&#8217;t have the Tk module. Make sure that the system you are using have the Tk module. If you don&#8217;t have it, go to <a href=\"http:\/\/www.cpan.org\/\">http:\/\/www.cpan.org<\/a> and download the perl module. Or you can use the perl&#8217;s CPAN module to install the Tk module. To do this, open a terminal and enter the following command<br \/>\n<code>perl -MCPAN -e shell<br \/>\ncpan&gt; install Bundle::CPAN<br \/>\ncpan&gt; reload cpan<br \/>\ncpan&gt; install Tk<\/code><\/p><\/blockquote>\n<p>via <a href=\"http:\/\/www.bin-co.com\/perl\/perl_tk_tutorial\/\">Perl\/Tk Tutorial &#8211; Create GUI with Perl&#8217;s Tk Module<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In Unix\/Linux you can execute your perl scripts by typing &#8220;perl &lt;filename&gt;&#8221; at command prompt. But before you do that make sure you have both Perl and its Tk module. Most linux distributions have perl &#8211; but quite a few &hellip; <a href=\"http:\/\/bucktownbell.com\/?p=8476\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[54],"tags":[297,171,107,494],"class_list":["post-8476","post","type-post","status-publish","format-standard","hentry","category-programming","tag-gui","tag-perl","tag-reference","tag-tutorial"],"_links":{"self":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/8476","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=8476"}],"version-history":[{"count":4,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/8476\/revisions"}],"predecessor-version":[{"id":8482,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=\/wp\/v2\/posts\/8476\/revisions\/8482"}],"wp:attachment":[{"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=8476"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=8476"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bucktownbell.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=8476"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}