Don't ask to ask, just ask | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
To answer your questions:
1. Your understanding of the -e switch is correct. It checks for the existence of a file. 2. According to Programming Perl, 3rd Ed, the unlink function deletes a list of files, so it does exactly what you think it does. 3. The statement will look for $filename, and delete it if the statement is true. TStanley In the end, there can be only one! In reply to Re: -e and unlink
by TStanley
|
|