bdawg613 has asked for the wisdom of the Perl Monks concerning the following question:
is there a way that i can do this shorter? i have some ideas, but i'm not sure how to implement it.$monthname[0] = 'jan'; $monthname[1] = 'feb'; . . . $monthname[11] = 'dec';
$monthname[] = {'jan', 'feb', ... ,'dec'};
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: creating an array of names
by tachyon (Chancellor) on Nov 11, 2002 at 17:49 UTC | |
|
Re: creating an array of names
by broquaint (Abbot) on Nov 11, 2002 at 17:49 UTC | |
|
Re: creating an array of names
by LTjake (Prior) on Nov 11, 2002 at 17:50 UTC | |
by bdawg613 (Initiate) on Nov 11, 2002 at 17:54 UTC | |
by tachyon (Chancellor) on Nov 11, 2002 at 18:12 UTC | |
by broquaint (Abbot) on Nov 11, 2002 at 18:50 UTC | |
by tachyon (Chancellor) on Nov 11, 2002 at 19:31 UTC | |
by John M. Dlugosz (Monsignor) on Nov 11, 2002 at 19:43 UTC | |
by sauoq (Abbot) on Nov 11, 2002 at 21:39 UTC | |
by insensate (Hermit) on Nov 11, 2002 at 18:12 UTC | |
by emilford (Friar) on Nov 11, 2002 at 18:07 UTC | |
by John M. Dlugosz (Monsignor) on Nov 11, 2002 at 19:40 UTC | |
by jjdraco (Scribe) on Nov 11, 2002 at 18:13 UTC | |
by dingus (Friar) on Nov 12, 2002 at 07:52 UTC | |
|
Re: creating an array of names
by princepawn (Parson) on Nov 11, 2002 at 18:40 UTC | |
|
Re: creating an array of names
by Enlil (Parson) on Nov 11, 2002 at 17:52 UTC |