list-separator

Why can't I set $LIST_SEPARATOR in Perl?

I want to set the LIST_SEPARATOR in perl, but all I get is this warning: Name "main::LIST_SEPARATOR" used only once: possible typo at ldapflip.pl line 7. Here is my program: #!/usr/bin/perl -w @vals; push @vals, "a"; push @vals, "b"; $LIST_SEPARATOR='|'; print "@vals\n"; I am sure I am missing something obvious, but I don't see ...

How to read 'List separator' from OS in Java?

I am writing a CSV exporter in Java that should respect the user's custom settings, especially the "List separator" to use as a delimiter. In Windows, one can set this List separator in Control Panel -> Regional and Language Options -> Regional Options -> Customize I don't know about the other operating systems, but I'm pretty sure t...