in reply to Search and replace
Yes use File::Find but this will do what you want to your path string:
$path = "c:\\foo\\bar\\perl.exe"; my($dir,$file) = $path =~ m/(.*\\)(.*)/; print "$dir | $file";
doc
print(s<>ecode?scalar reverse :p)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Search and replace
by compualley (Initiate) on Oct 03, 2001 at 17:39 UTC |