meetn2veg has asked for the wisdom of the Perl Monks concerning the following question:
My situation: A file gets saved by the client in the following format:
[username][language code].[what](optional [pub]) fred2.description (not public) fred2.description.published (public)
I've successfully managed to isolate the language code (2 in this case) without problem. However, what I'd like to find out is, if it is possible to push into an array the language code and another $variable which points to the flag of that particular language, and if so, how.
I've got something like this in mind;
@array = 2 $flag_eng 3 $flag_fre etc...
The intention is to use the array at a later stage in the script to display what languages the page is available in and obviously display the flag as the link.
Any advice/assistance will always be greatly appreciated.
Richard.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pushing Filename parts into an array
by the pusher robot (Monk) on Oct 31, 2002 at 00:12 UTC | |
|
Re: Pushing Filename parts into an array
by ehdonhon (Curate) on Oct 31, 2002 at 00:13 UTC | |
|
Re: Pushing Filename parts into an array
by roik (Scribe) on Oct 31, 2002 at 08:51 UTC |