Hi all,
I'd like to pose the following question:
I am new to perl and I try to make a website using
apache and modperl,
in which authorised users upload files for other users
to download.
For upload, I copy the files in a folder and I put
the filePath in a mySQL db. I am also using a fileID
to re
Cheers Joseph,
thanks for your reply.
Still it does not work,
$FileHandle is set to the 'FILEHANDLE' string
and unlink can't work because no file with filename
FILEHANDLE exists.
Any other ideas?
Macis
--- "R. Joseph Newton" <[EMAIL PROTECTED]> wrote:
>I will try something like:
>
> my $FileHand
Thank you all for your replies,
>Play around with *FILEHANDLE. For example:
>open FILEHANDLE, ">blah.txt";
>&closeFile( *FILEHANDLE );
>sub closeFile {
> my $fh = shift;
> print $fh "I closed you.\n";
> close $fh;
>}
Still I was not able to delete the file.
>you don't need to lock the fi