in reply to Re^2: How do I create folders by trimming the text
in thread How do I create folders by trimming the text

I just tried, excellent command for parsing out the path from the element. However I want to do the opposite. I would like to create the folder structure from the path and then copy the elements into it (that I can do with my existing code). I just need help in splitting the folders and creating them from the path. Thanks.
  • Comment on Re^3: How do I create folders by trimming the text

Replies are listed 'Best First'.
Re^4: How do I create folders by trimming the text
by kennethk (Abbot) on Nov 09, 2010 at 16:56 UTC
    I just need help in splitting the folders and creating them from the path
    Did you read Corion's linked documentation? File::Spec's splitpath and splitdir extract the folder names. File::Path's make_path creates folders from a path.