mccullmw has asked for the wisdom of the Perl Monks concerning the following question:
I'm fairly new to perl, althought I have programmed C++ for quite some time now.
I'm working with a CGI that allows a user to upload files to a directory. The upload part works fine. I've written a delete subroutine that works well for all but the first file in the directory.
It won't unlink the filename even though the path and the filename are correct.
Thoughts?
update (broquaint): changed title (was Unlink)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Unlink
by chromatic (Archbishop) on Nov 13, 2002 at 00:27 UTC | |
|
Re: Unlink
by dws (Chancellor) on Nov 13, 2002 at 00:30 UTC | |
|
Re: Unlink
by mccullmw (Initiate) on Nov 13, 2002 at 01:07 UTC | |
by strat (Canon) on Nov 13, 2002 at 17:32 UTC | |
by TheHobbit (Pilgrim) on Nov 13, 2002 at 21:51 UTC | |
|
Re: Unlink
by Anonymous Monk on Nov 13, 2002 at 04:47 UTC | |
|
Re: Unlink doesn't work on first file
by iburrell (Chaplain) on Nov 13, 2002 at 17:16 UTC | |
|
Re: Unlink doesn't work on first file
by mccullmw (Initiate) on Nov 14, 2002 at 18:37 UTC | |
by runrig (Abbot) on Nov 14, 2002 at 19:47 UTC |