I need to find a list of locale installed/supported in my linux machine. is there a way to find a list of valid locales in my linux using perl ?
thanks
This command will give you a list of locales:
locale -a
From a Perl script you can execute the same using
system("locale -a");