Help for this page

Select Code to Download


  1. or download this
    sub next {
        my $self = shift;
    ...
                my $line = shift @{ $self->{output} };
                return $line;
            }
    
  2. or download this
            if ( ! @{ $self->{dirs} } ) {
                return;
            }
            my $dir = shift @{ $self->{dirs} };
            if (-d $dir) {
    
  3. or download this
              if ($oldir){
                $self->{level} += 
                    ($dir=~tr!/!/!) - ($olddir=~tr!/!/!);
              }
              $olddir=$dir;