else you could use the given when feature depending on your perl version :
Update : I'm not sure whether this will work, can not recall the exact syntax and I dont have the right perl version on this machine to test itt
given ($language){ when('fr'){ $wind_translation='vent'; } when('es'){ $wind_translation='viento'; } }
In reply to Re: Translation selection advise
by QuillMeantTen
in thread Translation selection advise
by johnfl68
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |