Help for this page
Select Code to Download
Select
or
download this
my $path = 'c:\\folder1\\filename.doc'; my ($file) = ($path =~ /([^\\]*)$/);