Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    use warnings;
    use strict;
    
    our (%sender, %receiver, @p_s};
    
  2. or download this
    while (<>) {
        chomp;
    
  3. or download this
        if (m/(\d-\d)->(\d-\d)/) {
            $sender{$1} = $2;
            $receiver{$2} = $1;
    
  4. or download this
            warn "enter ",
                "$sender{$1}->$receiver{$2} ",
                "in dependency hashes\n";
        }
    
  5. or download this
        elsif (m/((\d)-\d)/) {
  6. or download this
            unshift @{$p_s[$2]}, $1;
            warn "unshift $1 onto process array\n";
    
  7. or download this
        }
        else {
            warn "unmatched line: $_\n";
        }
    }
    # . . .