It's a substitution, but it looks a bit strange because it's using ':' as the separator instead of the more usual '/'. This is because '/' is the character that is being replaced, so using a different separator avoids having to escape it.
In summary, the line looks for all occurances of '/' in $_ and replaces them with '}{dirs}{'.
--In reply to RE: RE: 'du' to hash
by davorg
in thread "du" to hash
by splinky
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |