in reply to Re: Parse a list of path strings into a nested hash
in thread Parse a list of path strings into a nested hash

Why aren't you using split /\\/, ?

For precisely the way(s) in which split /\\/, is different from /(.*)\\(.*)/.

What is the sound of Windows? Is it not the sound of a wall upon which people have smashed their heads... all the way through?

Replies are listed 'Best First'.
Re^3: Parse a list of path strings into a nested hash
by ambrus (Abbot) on Sep 06, 2010 at 20:53 UTC

    You mean that the regex will split from the trailing end, whereas split splits from the leading end?

      Yes.