Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: mkdir usage

by LanX (Bishop)
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

Replies are listed 'Best First'.
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?
choroba recommends ABSG to Discipulus
[erix]: yes, very handy that. I always use the one-page html version (dumped a local copy of it)
[erix]: (easier for searching)
choroba tries to grep -i choroba absg.html
[erix]: I count 3 (+1 in the list)-- wel done :)

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (9)
As of 2017-11-24 11:52 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (348 votes). Check out past polls.

    Notices?