Help for this page

Select Code to Download


  1. or download this
    $a = "/root/subroot/subsubroot/filename";
    $b = dirname $a;
    $c = basename $a;
    
  2. or download this
    my $filespec = "/root/subroot/subsubroot/filename";
    my $path     = dirname $filespec;
    my $filename = basename $filespec;