Help for this page

Select Code to Download


  1. or download this
    sub get_dir_list {
            my ($him,@files) = @_;
    ...
                    while (-d $file) {
                            $file =~ s|/([^/]+)$||;
                            my $last = $1;
    
  2. or download this
     $file =~ s|/([^/]+)$|| or last;