title: @ARGV is empty using ActivePerl in Windows 7
body: <p>I have the following Perl script.  I am trying to run it in Windows 7 using ActivePerl:</p>
  
  <pre><code>#!c:\Perl64\bin\perl.exe -w
  
  use strict;
  
  my $mp3splt_exe = 'c:\Program Files (x86)\mp3splt\mp3splt.exe';
  
  my $mp3splt_args = '-o "@n @f" -g "r%[@o @N]"  -f -t 6.0';
  
  print @ARGV;
  my $filename = $ARGV[0];
  
  print "$mp3splt_exe $mp3splt_args $filename\n";
  </code></pre>
  
  <p>(as you can see, I am trying to create a wrapper for mp3splt :-) )</p>
  
  <p>When I run it like this:</p>
  
  <blockquote>
    <p>C:\Program Files (x86)\mp3splt>run_mp3splt.pl a</p>
  </blockquote>
  
  <p>I get this:</p>
  
  <pre><code>Use of uninitialized value $filename in concatenation (.) or string at C:\Program Files (x86)\mp3splt\run_mp3splt.pl line 12.
  c:\Program Files (x86)\mp3splt\mp3splt.exe -o "@n @f" -g "r%[@o @N]"  -f -t 6.0
  </code></pre>
  
  <p>So, first of all, when I <code>print @ARGV</code>, nothing gets printed, and second of all, when I assign <code>$filename = $ARGV[0]</code>, <code>$filename</code> is <code>undef</code>, so I get the warning.</p>
  
  <p>So... what am I doing wrong? Why isn't the commandline parameter being passed to the script?</p>