Help for this page

Select Code to Download


  1. or download this
    use XML::Twig;
    
    ...
        map { candidate_generator($_, @pair) } @next_city;
    
    map { $_->print } @next_to_next;
    
  2. or download this
    my @next_to_next = 
        grep { $_->first_child->text ne $city and 
               $_->last_child->text ne $city }
        map { candidate_generator($_, @pair) } @next_city;
    
  3. or download this
    $_->delete for (@adj);
    
    ...
    
    map { $_->print } @next_to_next;
    
  4. or download this
    if ($file !~ /p(\d{6,7})_(\w+)_(\w+).zip/) {
      then die "$file violates the companies syntax for patch filenames";
    }
    
  5. or download this
    System::Logic::valid_patchfile(File => $file, DieOnErr => 1);