- or download this
use constant {
NULL => 0,
EINS => 1,
ZWEI => 2,
};
- or download this
sub NULL { return 0; }
sub EINS { return 1; }
sub ZWEI { return 2; }
- or download this
my %english_translation = (
NULL => "Zero",
'EINS' => "One",
ZWEI() => 'Two',
);
- or download this
my %english_translation = (
NULL, "Zero",
EINS, "One",
ZWEI, 'Two',
);