in reply to changing File Find name
If you know that the prefix is always there I'd not bother with a regexp.
Just take the substr function and remove the first N characters from your string.
Verbosely it'd look something like this:
while($hit = <DATA>) { print substr( $hit, length( '/startdirectory' ) ); }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: changing File Find name
by Anonymous Monk on Mar 09, 2004 at 15:19 UTC |