{"id":531,"date":"2003-03-14T12:00:50","date_gmt":"2003-03-14T20:00:50","guid":{"rendered":"http:\/\/lee.org\/blog\/archives\/2003\/03\/14\/3-14-03aghghhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhhauto-ascii-modei-didnt-have-ftp-voyager-in-auto-ascii-modei-was-uploading-my-pl-files-in-binary-format-not-asci\/"},"modified":"2006-09-20T10:27:35","modified_gmt":"2006-09-20T17:27:35","slug":"earthlink-cgicookie-module-is-messed-up","status":"publish","type":"post","link":"https:\/\/www.lee.org\/blog\/2003\/03\/14\/earthlink-cgicookie-module-is-messed-up\/","title":{"rendered":"Earthlink CGI::Cookie module is messed up"},"content":{"rendered":"<p>How come sweet and sour sauce is really only sweet and sweet sauce? Was the sour aspect weeded out by American tastes?<\/p>\n<p>&#8212;&#8212;&#8212;&#8212;&#8212;<\/p>\n<p>I&#8217;ve got a call in to Earthlink via email:<\/p>\n<blockquote><p>The following simple web script doesn&#8217;t work. It generates a &#8220;500 Internal Server Error&#8221;<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\n#!\/usr\/local\/bin\/perl<br \/>\nuse CGI::Cookie;<br \/>\nprint &#8220;Content-type: text\/html\\n\\n&#8221;;<br \/>\nprint &#8220;Hello world!\\n&#8221;;<br \/>\n&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br \/>\nHowever, if you were to comment out &#8220;use CGI::Cookie;&#8221;, it works just fine.<br \/>\nInterestingly, the Earthlink Perl Syntax checker doesn&#8217;t see any problem with my code.<\/p>\n<p>Can you help?<\/p><\/blockquote>\n<p>I sent it via email because there wasn&#8217;t anyone on support at midnight last night.<\/p>\n<p>I&#8217;ve noticed that Earthlink&#8217;s email support sucks mad cow testicles, while the LivePerson chat support is very respectable. I think I&#8217;ll try a chat now&#8230;<\/p>\n<p><strong>4:20pm<\/strong><\/p>\n<p>HA!<\/p>\n<p>Earthlink admitted that their CGI::Cookie module is messed up! 3 freaking days of banging my head against this and I&#8217;ve solved all the hard parts!<\/p>\n<p>NOW, I just have to install my own CGI::Cookie module in my own directory and forget about Earthlink&#8217;s. Of course, I&#8217;ve never installed my own module, but it should be a piece of cake, right? Ugh.<\/p>\n<p><strong>4:30pm<\/strong><\/p>\n<p>There are 4 different cookie modules at CPAN and it&#8217;s not obvious which is the right one. I&#8217;m getting unhappy already. You know, there&#8217;s a film festival going on this weekend a couple towns over&#8230;. Maybe I&#8217;ll go to that and when I come back, this problem will be magically fixed (by the Perl Gnomes of course)<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How come sweet and sour sauce is really only sweet and sweet sauce? Was the sour aspect weeded out by American tastes? &#8212;&#8212;&#8212;&#8212;&#8212; I&#8217;ve got a call in to Earthlink via email: The following simple web script doesn&#8217;t work. It generates a &#8220;500 Internal Server Error&#8221; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;- #!\/usr\/local\/bin\/perl use CGI::Cookie; print &#8220;Content-type: text\/html\\n\\n&#8221;; print &#8220;Hello [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[2,1],"tags":[],"class_list":["post-531","post","type-post","status-publish","format-standard","hentry","category-geekery","category-general"],"_links":{"self":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/531","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/comments?post=531"}],"version-history":[{"count":0,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/posts\/531\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/media?parent=531"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/categories?post=531"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lee.org\/blog\/wp-json\/wp\/v2\/tags?post=531"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}