you can test to see which OS you are on with the $ENV{OS};
i hope this helps
In reply to Re: Text::CSV_XS and line-endings by zer in thread Text::CSV_XS and line-endings by friedo