Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re^2: Parse a list of path strings into a nested hash

by jdporter (Paladin)
on Sep 06, 2010 at 19:05 UTC ( [id://859078]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://859078]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2024-04-26 03:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found