Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Unlink works in windows, not in Linux?

by rovf (Priest)
on Dec 12, 2012 at 10:00 UTC ( #1008474=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    unlink $file or die "\nCould not delete the backup $file: $!";
    
  2. or download this
    print FILE "Now going to delete $file\n";
    if(unlink $file) {
    ...
        print FILE "A miracle occured! $file is gone!\n";
      }
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1008474]
help
Chatterbox?
[GrandFather]: It's either lines that your browser won't split (no white space) or nodes with <pre> tags which ought to be code tags
[GrandFather]: I haven't noticed the problem for a while, but it can be hard to find the nasty node. If you do find it, consider it and with luck a janitor will fix it

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (5)
As of 2017-05-24 01:01 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?