<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.weweweb.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Perl</id>
	<title>Perl - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.weweweb.net/wiki/index.php?action=history&amp;feed=atom&amp;title=Perl"/>
	<link rel="alternate" type="text/html" href="https://www.weweweb.net/wiki/index.php?title=Perl&amp;action=history"/>
	<updated>2026-04-09T07:34:02Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.5</generator>
	<entry>
		<id>https://www.weweweb.net/wiki/index.php?title=Perl&amp;diff=95&amp;oldid=prev</id>
		<title>Willy: Created page with &quot;If I excecute the script via: &quot;perl hello.pl&quot;, it responds as expected:   Content-type: text/html   Hello, World   But, if I try to just execute it directly, the system respon...&quot;</title>
		<link rel="alternate" type="text/html" href="https://www.weweweb.net/wiki/index.php?title=Perl&amp;diff=95&amp;oldid=prev"/>
		<updated>2022-01-27T04:12:13Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;If I excecute the script via: &amp;quot;perl hello.pl&amp;quot;, it responds as expected:   Content-type: text/html   Hello, World   But, if I try to just execute it directly, the system respon...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;If I excecute the script via: &amp;quot;perl hello.pl&amp;quot;, it responds as expected:&lt;br /&gt;
&lt;br /&gt;
 Content-type: text/html&lt;br /&gt;
&lt;br /&gt;
 Hello, World&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
But, if I try to just execute it directly, the system responds:&lt;br /&gt;
&lt;br /&gt;
 :bad interpreter: No such file or directory&lt;br /&gt;
&lt;br /&gt;
file hello.pl&lt;br /&gt;
&lt;br /&gt;
it should tell you&lt;br /&gt;
&lt;br /&gt;
 &amp;quot;hello.pl: a /usr/bin/perl script text executable&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If you have (g)vim or vi on you linux box it's easy to change the format from win format to unix format: Load the file in vim and type the following in command mode:&lt;br /&gt;
&lt;br /&gt;
 : set ff=unix&lt;br /&gt;
&lt;br /&gt;
Save the file and it should be a unix file (check with &amp;quot;file &amp;lt;name-file&amp;gt;&amp;quot;).&lt;br /&gt;
&lt;br /&gt;
Read http://forums.devshed.com/t118489/s.html&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
Goto [[Linux]]&lt;/div&gt;</summary>
		<author><name>Willy</name></author>
	</entry>
</feed>