Help for this page

Select Code to Download


  1. or download this
    my @downloads = grep { !/^asdf$/ } @file_list;
    
    print "Downloading: @downloads\n";
    
  2. or download this
    my $exclude   = 'asdf'; # Maybe user input or other program logic
    my @downloads =  grep { $_ ne $exclude } @file_list;