mkpath

A

Alexandre Jaquet

Hi again,
does mkpath(['/foo/bar/baz', 'blurfl/quux'], 1, 0711); create
/foo/bar/baz directories based on blurf1/quux or it's only create thow
directories

thx
 
P

phaylon

Alexandre said:
does mkpath(['/foo/bar/baz', 'blurfl/quux'], 1, 0711); create
/foo/bar/baz directories based on blurf1/quux or it's only create thow
directories

I'm sorry if I don't understand your question right, but are you asking in
what relation '/foo/bar/baz' and 'blurfl/quux' are standing? If so, the
documentation may help:

L<perldoc File::path>
| ... "mkpath" takes three arguments:
|
| o the name of the path to create, or a reference to a
| list of paths to create,
| ...

If this does not help, sorry, please reformulate your question if nobody
else understands it[1].

hth,phay

[1] Maybe it's me, not native english.
 
S

Sherm Pendley

Alexandre said:
does mkpath(['/foo/bar/baz', 'blurfl/quux'], 1, 0711); create
/foo/bar/baz directories based on blurf1/quux or it's only create thow
directories

I'm not sure what you mean by "based on" here, but the docs are pretty clear
- if you pass an array reference as the first argument to mkpath(), it's
taken as a list of paths to create.

sherm--
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,167
Messages
2,570,913
Members
47,454
Latest member
eibaloja

Latest Threads

Top