in reply to Re: Re: Re: Re: convert windows path
in thread convert windows path
If you're just trying to extract a file from a path then
something like
should work. (I'm sure that there's a FAQ on this). Or you might want to try one of the File::Path modules, but that's probably overkill.$var =~ /([^\\\/]*)$/ and $file = $1
|
---|
In Section
Seekers of Perl Wisdom