Thread Kommunikationsproblem Perl->PHP (27 answers)
Opened by Gast at 2007-01-10 16:18

ChrisNain
 2007-01-11 10:39
#9495 #9495
User since
2007-01-10
15 Artikel
BenutzerIn
[default_avatar]
Guten Morgen :)

>Mach das close OUT außerhalb der for-Schleife!

Hab ich gemacht, hatte aber keinen Effekt, die Schleife wird ohnehin nur einmal durchlaufen.

>Du solltest unbedingt use strict und use warnings verwenden...
Hab ich drin, das ist wie gesagt nur ein Teil des Codes.

---

Code: (dl )
1
2
open(FH, "Datei") or die($!);
close(FH) or die($!);


Das hab ich jetzt auch Versucht und bekomme folgenden Fehler:

Quote
Content-type: text/html

<h1>Software error:</h1>
<pre> at cgi-bin/xml.cgi line 109.</pre>
<p>
For help, please send mail to this site's webmaster, giving this error message
and the time and date of the error.

</p>
[Thu Jan 11 09:35:18 2007] xml.cgi: at cgi-bin/xml.cgi line 109.


In Zeile 109 steht nun mit der Änderung:

Code: (dl )
close (OUT) or die($!);
\n\n

<!--EDIT|ChrisNain|1168504881-->

View full thread Kommunikationsproblem Perl->PHP