in reply to Re: URL Help
in thread Removing filename from directory paths (was: URL Help)

Breaks on paths containing newlines. Be sure to add an s modifier.

-- Randal L. Schwartz, Perl hacker