Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re: Unlink Permission Denied

by tachyon (Chancellor)
on May 03, 2002 at 04:09 UTC ( [id://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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://163703]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (7)
As of 2024-03-28 22:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found