Help for this page

Select Code to Download


  1. or download this
    use File::Spec::Functions qw(splitpath);
    my (undef,undef,$file)=splitpath($path);
    
  2. or download this
    use File::Spec;
    my ($vol,$path,$file)=File::Spec->splitpath($path);