Help for this page

Select Code to Download


  1. or download this
    while ($output =~ m/...re.../sg) {
      ... process block ...
    }
    
  2. or download this
    $re = qr{AMQ8409.*?QUEUE\((.*?)\).*?RQMNAME\((.*?)\).*?RNAME\((.*?)\).
    +*?end};
    
  3. or download this
    while ($output =~ m/(AMQ8409.*?end)/gs) {
      my $block = $1;
    ...
      # process block
      # use $hash{QUEUE}, $hash{RQMNAME}, $hash{RNAME}, etc.
    }
    
  4. or download this
    my %hash;
    while (<>) {
    ...
        # ... add more variables of interest ...
      }
    }