Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
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 scrutinizing the Monastery: (13)
As of 2015-07-28 16:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls