in reply to Re: split a path/filename
in thread split a path/filename

What makes you think that every operating system uses the slash as directory separator?

Alexander

--
Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

Replies are listed 'Best First'.
Re^3: split a path/filename
by TJPride (Pilgrim) on Dec 02, 2011 at 16:14 UTC
    Obviously, not all do, but in this case he already specified his path format, and this sounds like a quick hack conversion, not a robust app. Enough people already suggested modules anyway.