in reply to Month Names
But as how you should best to do your language conversion is very dependant on how you manage it in the rest of your program. Could you give an example of how you're doing it now? Are you doing global search and replaces, resource files, or a runtime variable that sets the langauge?#!/usr/local/bin/perl -w use strict; { my $mn = 3; my $month = (qw(January Feburary March April May June July August S +eptember October November December))[$mn]; print $month, "\n"; }
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
RE: (jcwren) Re: Month Names
by merlyn (Sage) on Sep 27, 2000 at 19:12 UTC |