in reply to Another Regular Expression Question
this is easier and more portable than a regex.use File::Basename; my ($name,$path,$suffix) = fileparse($path, qr/\..*/);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Another Regular Expression Question
by Scarborough (Hermit) on Apr 08, 2004 at 15:05 UTC |