in reply to Re: use of uninitialised value
in thread use of uninitialised value

That would need to be:
-d $upload_dir or die "$upload_dir: $!"; -f "$upload_dir/$filename" or die "$upload_dir/$filename: $!";

Replies are listed 'Best First'.
Re^3: use of uninitialised value
by sh1tn (Priest) on Mar 08, 2005 at 07:38 UTC
    Thank you. My error comes from the lack of fully written sample:
    my $filename = "$upload_dir/$filename"; -d $upload_dir or die "$upload_dir: $!"; -f $filename or die "$filename: $!"; # I'm not in the secret why those endless absolute # filepaths are scattered almost always