2 # DX cluster message strings for output
4 # Each message string will substitute $_[x] positionally. What this means is
5 # that if you don't like the order in which fields in each message is output then
6 # you can change it. Also you can include various globally accessible variables
7 # in the string if you want.
9 # Largely because I don't particularly want to have to change all these messages
10 # in every upgrade I shall attempt to add new field to the END of the list :-)
12 # Copyright (c) 1998 - Dirk Koopman G1TLH
22 my $localfn = "$main::root/local/Messages";
23 my $fn = "$main::root/perl/Messages";
29 my $ref = $msgs{$lang};
30 my $s = $ref->{$m} if $ref;
31 if (!$s && $lang ne 'en') {
35 return "unknown message '$m' in lang '$lang'" if !defined $s;
36 my $ans = eval qq{ "$s" };
46 return ($@) if $@ && ref $ref;
51 return ($@) if $@ && ref $ref;