<?xml version="1.0" encoding="utf-8" ?><rss version="2.0" xml:base="https://www.webmaster-forums.net/crss/node/1036364" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title></title>
    <link>https://www.webmaster-forums.net/crss/node/1036364</link>
    <description></description>
    <language>en</language>
          <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-run-perl-script#comment-1209328</link>
    <description> &lt;p&gt;Here&#039;s an expanded version that prints via CGI nicely:&lt;br /&gt;
&lt;div class=&quot;codeblock&quot;&gt;&lt;code&gt;#!/usr/bin/perl -wT&lt;br /&gt;&lt;br /&gt;print &amp;quot;Content-type: text/html\n\n&amp;quot;;&lt;br /&gt;print &amp;quot;&amp;lt;pre&amp;gt;&amp;quot;;&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;&amp;#039;=~(&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;#039;(?{&amp;#039;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .(&amp;#039;`&amp;#039;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; |&amp;#039;%&amp;#039;)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; .(&amp;#039;[&amp;#039;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ^&amp;#039;-&amp;#039;)&lt;br /&gt;&amp;lt;strong&amp;gt;&amp;lt;em&amp;gt;[...snip...]&amp;lt;/em&amp;gt;&amp;lt;/strong&amp;gt;&lt;br /&gt; &amp;#039;`&amp;#039;|(&amp;#039;%&amp;#039;)).&amp;nbsp; &amp;#039;++\\$=&amp;quot;})&amp;#039;&amp;nbsp; );$:=(&amp;#039;.&amp;#039;)^&amp;nbsp; &amp;#039;~&amp;#039;;$~=&amp;#039;@&amp;#039;|&amp;nbsp; &amp;#039;(&amp;#039;;$^=&amp;#039;)&amp;#039;^&amp;nbsp; &amp;#039;[&amp;#039;;$/=&amp;#039;`&amp;#039;;&lt;br /&gt;&lt;br /&gt;print &amp;quot;&amp;lt;/pre&amp;gt;&amp;quot;;&lt;/code&gt;&lt;/div&gt;&#039;&lt;/p&gt;
 </description>
     <pubDate>Mon, 23 Oct 2006 11:56:19 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1209328 at https://www.webmaster-forums.net</guid>
  </item>
  <item>
    <title></title>
    <link>https://www.webmaster-forums.net/serverside-scripting/how-run-perl-script#comment-1209261</link>
    <description> &lt;p&gt;What operating system are you in?  Do you have Perl installed?&lt;/p&gt;
&lt;p&gt;All you need to do is put the code on that page into a new file (maybe call it &lt;em&gt;99bottles.pl&lt;/em&gt;).  Then run &lt;strong&gt;perl 99bottles.pl&lt;/strong&gt; from the command line.&lt;/p&gt;
&lt;p&gt;How you go about doing that last bit depends on your OS and what shell you use.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
&lt;p&gt;If you&#039;re trying to do this on a server, with hypertext output, then it&#039;s slightly different.  You&#039;ll need CGI on your server -- you&#039;ll probably have a &quot;cgi-bin&quot; directory.  Add &lt;strong&gt;#!/usr/bin/perl -wT&lt;/strong&gt; as the first line of your 99bottles.pl file, and &lt;strong&gt;print &quot;Content-type: text/html\n\n&quot;;&lt;/strong&gt; as the second line.  Put the file in your CGI-enabled directory,  and ensure it has the right permissions (755).  Finally, visit it in your browser.&lt;/p&gt;
&lt;p&gt;The script itself doesn&#039;t depend on EyeDrops.  It was generated with the help of EyeDrops, and in its presented form works with just Perl.  &lt;img src=&quot;https://www.webmaster-forums.net/misc/smileys/smile.png&quot; title=&quot;Smiling&quot; alt=&quot;Smiling&quot; class=&quot;smiley-content&quot; /&gt;&lt;/p&gt;
 </description>
     <pubDate>Sun, 22 Oct 2006 12:00:26 +0000</pubDate>
 <dc:creator>Abhishek Reddy</dc:creator>
 <guid isPermaLink="false">comment 1209261 at https://www.webmaster-forums.net</guid>
  </item>
  </channel>
</rss>
