Hello,
I am new on the list and I am sorry if my question is irrelevant with the list.

In a program I have to remove a file. I did "perdoc perlfunc" and I found
 
 Functions for filehandles, files, or directories

   "-X", "chdir", "chmod", "chown", "chroot", "fcntl", "glob", "ioctl", "link",
   "lstat", "mkdir", "open", "opendir", "readlink", "rename", "rmdir", "stat", 
   "symlink", "sysopen", "umask", "unlink", "utime"

there is nothing to remove a file ?

I did perldoc perlfaq5 where I found 

    Why does Perl let me delete read-only files?  Why does
       "-i" clobber protected files?  Isn't this a bug in Perl?

       This is elaborately and painstakingly described in the
       file-dir-perms article in the "Far More Than You Ever
       Wanted To Know" collection in
       http://www.cpan.org/misc/olddoc/FMTEYEWTK.tgz .

when I do 

wget http://www.cpan.org/misc/olddoc/FMTEYEWTK.tgz 

I get error 404 not found 

Perhaps it's not a function in Perl ?

Can someone tell me how to remove a file in Perl ?  

Thanks in advance for any advice.
   
    
-- 
G�rard 


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to