<?xml version="1.0" encoding="windows-1252"?>
<node id="1007291" title="Windows strawberry perl Getopt::Long fails" created="2012-12-05 08:43:03" updated="2012-12-05 08:43:03">
<type id="115">
perlquestion</type>
<author id="765993">
Saved</author>
<data>
<field name="doctext">
Windows strawberry perl Getopt::Long fails although
indentical to that run on Linux. Is there a fix/workarround?

&lt;code&gt;
use Getopt::Long;

GetOptions ('library=s' =&gt; \@libfiles);
@libfiles = split(/,/,join(',',@libfiles));
print "@libfiles\n";
$LstCnt=@libfiles;
print "$LstCnt\n";

&lt;/code&gt;

prints "0"
</field>
</data>
</node>
