Thread Hilfe Fehlermeldung (3 answers)
Opened by Gast at 2009-01-24 18:27

Gast Gast
 2009-01-24 18:27
#118298 #118298
Hallo Leute,

ich habe ein fertiges Perl-Script zum Datei-Upload übernommen. Leider funktioniert es nicht. Da ich keine Erfahrung habe bitte ich Euch um Hilfe.

Für folgende Zeilen:

Code: (dl )
1
2
3
4
5
6
16 use CGI; File not executable (use chmod +x)
17 (no output)
18
19 use Fcntl qw(:DEFAULT :flock);
20 use File::Temp qw/ tempfile tempdir /;
21 #use Carp;

Erhalte ich diese Fehlermeldung:

syntax error at C:\Users\Alex\AppData\Local\Temp\dir2090.tmp\upload.pl line 16,
near "File not "
"use" not allowed in expression at C:\Users\Alex\AppData\Local\Temp\dir2090.tmp\
upload.pl line 16, at end of line
"no" not allowed in expression at C:\Users\Alex\AppData\Local\Temp\dir2090.tmp\u
pload.pl line 17, at end of line
"use" not allowed in expression at C:\Users\Alex\AppData\Local\Temp\dir2090.tmp\
upload.pl line 19, at end of line
BEGIN not safe after errors--compilation aborted at C:\Users\Alex\AppData\Local\
Temp\dir2090.tmp\upload.pl line 20.

kann mir jemand helfen?

Danke Alex

View full thread Hilfe Fehlermeldung