Hallo wunderwarzenschwein,
$file=$params{'file'};
Wo kommt %params her?Hier:
my $q=new CGI;
my %params=$q->Vars;
Ich denke, das ist das Problem. Aus perldoc CGI:
When using this, the thing you must watch out for are multivalued CGI
parameters. Because a hash cannot distinguish between scalar and list
context, multivalued parameters will be returned as a packed string,
separated by the "\0" (null) character. You must split this packed
string in order to get at the individual values. This is the conven-
tion introduced long ago by Steve Brenner in his cgi-lib.pl module for
Perl version 4.
Ich denke, ähnliche Probleme ergeben sich bei Fileuploads.
Grüße,
CK
--
Kommt ein Vektor zur Drogenberatung: "Hilfe, ich bin linear abhaengig!"
Kommt ein Vektor zur Drogenberatung: "Hilfe, ich bin linear abhaengig!"