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
24 my $localfn = "$main::root/local/Messages";
25 my $fn = "$main::root/perl/Messages";
33 my $ref = $msgs{$lang};
34 my $s = $ref->{$m} if $ref;
35 if (!$s && $lang ne 'en') {
39 return "unknown message '$m' in lang '$lang'" if !defined $s;
40 my $ans = eval qq{ "$s" };
50 return ($@) if $@ && ref $ref;
55 return ($@) if $@ && ref $ref;