Oct 26, 2015, 5:30 AM
Post #2 of 2
The safest way to parse a path is to use a module such as File::Basename. An easier solution which almost always works is to split the string into fields using the function 'split' (refer: perldoc -f split).
Re: [biswa_pradhan] breaking the path to root, subroot and subsubroot
[In reply to]
We are not here do your homework for you. If you are still not able to solve the problem, show us what you have tried and how it failed.