[32683] in Perl-Users-Digest

home help back first fref pref prev next nref lref last post

Perl-Users Digest, Issue: 3885 Volume: 11

daemon@ATHENA.MIT.EDU (Perl-Users Digest)
Mon Jun 3 14:55:49 2013

Date: Sat, 23 Feb 2013 02:17:09 -0800 (PST)
From: Perl-Users Digest <Perl-Users-Request@ruby.OCE.ORST.EDU>
To: Perl-Users@ruby.OCE.ORST.EDU (Perl-Users Digest)

Perl-Users Digest           Sat, 23 Feb 2013     Volume: 11 Number: 3885

Today's topics:
        Unlink help <dave@invalid.invalid>
        Digest Administrivia (Last modified: 6 Apr 01) (Perl-Users-Digest Admin)

----------------------------------------------------------------------

Date: Sat, 23 Feb 2013 09:49:38 +0000 (UTC)
From: "Dave Saville" <dave@invalid.invalid>
Subject: Unlink help
Message-Id: <fV45K0OBJxbE-pn2-50FziIPSrINh@paddington.bear.den>

I have a perl script that cleans up temporary directories at boot. If 
a file in one of those directories is read only I get a "permission 
denied" message from unlink. Note this is not a *nix or Windows 
system. If OTOH I cd to said directory and issue "rm -f *" they go 
without a murmur.

Can unlink be made to behave like "rm -f" or do I have to use the 
command in backticks?

TIA  
-- 
Regards
Dave Saville


------------------------------

Date: 6 Apr 2001 21:33:47 GMT (Last modified)
From: Perl-Users-Request@ruby.oce.orst.edu (Perl-Users-Digest Admin) 
Subject: Digest Administrivia (Last modified: 6 Apr 01)
Message-Id: <null>


Administrivia:

To submit articles to comp.lang.perl.announce, send your article to
clpa@perl.com.

Back issues are available via anonymous ftp from
ftp://cil-www.oce.orst.edu/pub/perl/old-digests. 

#For other requests pertaining to the digest, send mail to
#perl-users-request@ruby.oce.orst.edu. Do not waste your time or mine
#sending perl questions to the -request address, I don't have time to
#answer them even if I did know the answer.


------------------------------
End of Perl-Users Digest V11 Issue 3885
***************************************


home help back first fref pref prev next nref lref last post