Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Unlink Permission Denied

by tachyon (Chancellor)
on May 03, 2002 at 04:09 UTC ( #163703=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $file = 'c:\test.txt';
    open F, ">$file" or die "Can't open $file $!\n";
    # uncomment this to gain permission to unlink $file...
    # close F;
    unlink $file or die "Can't unlink $file $!\n";
    
  2. or download this
    $file = "c:\\test.txt";
    `dir c: > $file`;
    unlink $file or die "Can't unlink $file $!\n";
    
  3. or download this
    perl somscript.pl > somefile.txt; del somefile.txt
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://163703]
help
Chatterbox?
and monks are getting baked in the sun...

How do I use this? | Other CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (8)
As of 2017-12-18 09:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What programming language do you hate the most?




















    Results (475 votes). Check out past polls.

    Notices?