<&| qtextstring, qa => $qa, dbh => $dbh,
thingstring => 'routestring', emsgstore => \$emsg,
- perresult => sub {
- my ($canonname, $island, $arch) = @_;
- push @islandids, $island;
- push @archipelagoes, defined $island ? undef : $arch;
+ onresults => sub {
+ foreach (@_) {
+ my ($canonname, $island, $arch) = @$_;
+ push @islandids, $island;
+ push @archipelagoes, defined $island ? undef : $arch;
+ }
}
&>
size=80
<&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'cs',
thingstring => 'capacitystring', emsgstore => \$emsg,
helpref => 'capacity',
- perresult => sub {
- ($max_mass,$max_volume) = @_;
- }
+ onresults => sub { ($max_mass,$max_volume) = @_; }
&>
size=40
</&>
<&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'll',
thingstring => 'lossperleague', emsgstore => \$emsg,
helpref => 'losses',
- perresult => sub { ($lossperleaguepct)= @_; }
+ onresults => sub { ($lossperleaguepct)= @_; }
&>
size=9
</&>
<&| qtextstring, qa => $qa, dbh => $dbh, prefix => 'ac',
thingstring => 'capitalstring', emsgstore => \$emsg,
helpref => 'capital',
- perresult => sub { ($capital)= @_; }
+ onresults => sub { ($capital)= @_; }
&>
size=9
</&>