Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number

Re^2: Recursive directories

by McA (Priest)
on Apr 02, 2014 at 12:56 UTC ( #1080765=note: print w/replies, xml ) Need Help??

in reply to Re: Recursive directories
in thread Recursive directories


be careful. You probably get what you don't want. Jenda explained it very nice. When you do the following assuming you have the correct rights:

use File::Path 'make_path'; File::Path->make_path('huhu');

you create two directories: File::Path and huhu. Try it with:

File::Path->make_path('huhu', { verbose => 1});

after removing the newly created directories in you test cwd.


Replies are listed 'Best First'.
Re^3: Recursive directories
by cord-bin (Friar) on Apr 03, 2014 at 12:23 UTC
    Yes, you are right, it indeed created in a strage way two folders and is not what I meant as I didn't want the directory File::Path. Good to know, thank you for your point!

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (4)
As of 2016-10-21 02:01 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (284 votes). Check out past polls.