in reply to filtering folder path using regex.
Im note sure if the split arg there should be \, or \\.use strict; my $path = shift; my($drive, $top) = ( split('\', $path) )[0,1];
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: filtering folder path using regex.
by blackadder (Hermit) on Jul 14, 2003 at 08:23 UTC |