Thread -e: Kann nicht \xf6ffnen: No such file or direc (34 answers)
Opened by awangard at 2015-02-05 15:11

pq
 2015-02-05 15:37
#179480 #179480
User since
2003-08-04
12207 Artikel
Admin1
[Homepage]
user image
2015-02-05T14:11:37 awangard
Code (perl): (dl )
1
2
3
open(READ,$dat_werbungstartlinks)or die "Kann $textdatei nicht öffnen: $!";
@anzeigenstartlinks=<READ>;
close(READ);

grobe irreführung.
versuche, datei $dat_werbungstartlinks zu öffnen, und wenn das nicht klappt, sag dem user stattdessen, dass $textdatei nicht geöffnet werden konnte.
Always code as if the guy who ends up maintaining your code will be a violent psychopath who knows where you live. -- Damian Conway in "Perl Best Practices"
lesen: Wiki:Wie frage ich & perlintro Wiki:brian's Leitfaden für jedes Perl-Problem

View full thread -e: Kann nicht \xf6ffnen: No such file or direc