Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
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 making s'mores by the fire in the courtyard of the Monastery: (12)
As of 2014-10-01 17:05 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    What is your favourite meta-syntactic variable name?














    Results (30 votes), past polls