in reply to Re: Re: Getting the filename from full path name ?
in thread Getting the filename from full path name ?

Actually something like my ($file) = $path =~ m|([^/\\]+)$| will work on Win32 or *nix and will also not fail to find the filname of 'file.txt'

cheers

tachyon