Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re^5: unlink fails to delete files with perculiar names

by Eliya (Vicar)
on Nov 22, 2011 at 12:11 UTC ( #939444=note: print w/ replies, xml ) Need Help??


in reply to Re^4: unlink fails to delete files with perculiar names
in thread unlink fails to delete files with perculiar names

No, because the OP didn't use parentheses with the unlink call, so the carp doesn't even execute.

$ perl -MCarp -e ' my $f = unlink 666 || carp 1; die $f ' 0 at -e line 1.

(see Re: unlink fails to delete files with perculiar names)


Comment on Re^5: unlink fails to delete files with perculiar names
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://939444]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (7)
As of 2014-10-31 23:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (225 votes), past polls