Help for this page

Select Code to Download


  1. or download this
    sub read {
        my ($cpio, $file) = @_;
    ...
            my ($e) = @_;
        push @{$cpio->{list}}, $e;
        });
    
  2. or download this
    sub remove {
        my ($cpio, @filenames) = @_;
    ...
    
        @{$cpio->{list}} = grep { !$filenames{$_} } @{$cpio->{list}};
    }