usr345 has asked for the wisdom of the Perl Monks concerning the following question:

In Windows there is a variable in locale: LOCALE_SLIST, that contains the separator for the csv files. How can I retrieve it in Perl?

Replies are listed 'Best First'.
Re: Windows LOCALE_SLIST
by BrowserUk (Patriarch) on Jul 18, 2010 at 22:46 UTC
Re: Windows LOCALE_SLIST
by Anonymous Monk on Jul 19, 2010 at 01:41 UTC
      Thanks for help. Here is how I got it:
      #!/usr/bin/perl use strict; use warnings; use Win32::OLE::NLS qw(GetLocaleInfo LOCALE_SYSTEM_DEFAULT LOCALE_SLIS +T); my $char = GetLocaleInfo(LOCALE_SYSTEM_DEFAULT, LOCALE_SLIST); print "[$char]";