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

Assuming your path is stored in $path, this would put it in $1.
$path =~ #^(.+/)#;
I justed used the # so as not to conflict with the / in the expression.

Replies are listed 'Best First'.
Re: Re: URL Help
by merlyn (Sage) on Jun 02, 2001 at 20:49 UTC