Help for this page

Select Code to Download


  1. or download this
    use File::Basename qw(fileparse);
    ...
    my ($word, $path, $ext) = fileparse($filename, qr/\..*/);