Author Topic: how to get locale variable in perl  (Read 2482 times)


  • Zen Apprentice
  • *
  • Posts: 4
  • Karma: +1/-0
    • View Profile
    • ITcorp Ltd.
how to get locale variable in perl
« on: June 20, 2017, 02:05:55 pm »
Hi there,

I'm working on a modification of the samba module, because in my country (Hungary) we use our name switched format like English name (Surname Fristname).
When I create a new user in a dashboard, the system create displayName in a wrong format. I made some modification about "add new user" process and everything is working like a charm, but 1 thing what I can't figure it out is how can I get locale settings in perl?
So what I want is I'd like to get a variable with the already configured dashboard locale setting to compare is the language is Hungarian, and if it is, than make a correct change on the entered names, and create a new user....