Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
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 chilling in the Monastery: (11)
As of 2014-10-22 14:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (118 votes), past polls