Help for this page

Select Code to Download


  1. or download this
    sub remove {
        my ($cpio, @filenames) = @_;
    ...
        # Remove the elements according to their name:
        @{$cpio->{list}} = grep { !$filenames{$_->name} } @{$cpio->{list}}
    +;
    }