Help for this page

Select Code to Download


  1. or download this
    my @array = ();
    push (@array, $rel_path);
    ## in my code more than one thing is pushed to @array.
    push (@{$self->{files}}, \@array);
    
  2. or download this
    sub next {
        my( $self )= @_;
    ...
            }
        }
    }
    
  3. or download this
    my $file;
    while(  $file = $f->next()  ) {
        print "@{$_}\n";
    }
    
  4. or download this
    push (@{$self->{output}}, [$rel_path, $var1, $var2]);