- or download this
sub translate_bold { ... }
sub translate_italics { ... }
...
- or download this
sub build_trans
{
...
# do translation here, using $usenet and $tag
}
}
- or download this
while (my $pat = &read_trans_pattern($cfg)) {
$trans_funcs{$pat->{'usenet'}} =
&build_trans_func($pat->{'usenet'}, $pat->{'tag'});
}