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)
In reply to Re: Search and replace
by doc
in thread Search and replace
by compualley
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |