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

Re: mkdir usage

by LanX (Canon)
on Dec 21, 2012 at 02:25 UTC ( #1009832=note: print w/ replies, xml ) Need Help??


in reply to mkdir usage

As a side note:

your condition will also be true on other files than directories, but mkdir will of course fail with a 'File exists' error.

Cheers Rolf


Comment on Re: mkdir usage
Re^2: mkdir usage
by skyworld_chen (Acolyte) on Dec 21, 2012 at 02:37 UTC

    I got the idea. Thanks for all of your kind replies.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (4)
As of 2014-12-28 11:20 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (180 votes), past polls