title: Why is PowerShell (with Perl) removing double quotes in a simple print statement?
body: <p>I am am a longtime Linux user but am new to Windows and PowerShell. I just installed Windows7 and Strawberry Perl 5 for the first time. I now want to do a simple command-line print with Windows PowerShell.</p>
  
  <p>It looks like Perl installed correctly:</p>
  
  <pre>
  PS C:\Users\Me> perl -v 
  This is perl, v5.10.0 built for MSWin32-x86-multi-thread Copyright
  1987-2007, Larry Wall 
  ...
  </pre>
  
  <p>And command-line stuff works:</p>
  
  <pre>
  PS C:\Users\Me> perl -e 'die'
  Died at -e line 1.
  
  PS C:\Users\Me> echo 'print "Hello, World\n"' | perl
  Hello, World
  </pre>
  
  <p>But when I try it all by itself it prints a filehandler warning:</p>
  
  <pre>
  PS C:\Users\Me> perl -e 'print "Hello, World\n"'
  No comma allowed after filehandle at -e line 1.
  </pre>
  
  <p>So it looks like its removing the double quotes.</p>
  
  <pre>
  PS C:\Users\Me> perl -e 'print \"Hello, World\n\"'
  Hello, World
  </pre>
  
  <p>That works but its Ugly! Lets try again:</p>
  
  <pre>
  PS C:\Users\Me> perl -e 'print qq{Hello, World\n}'
  Hello, World
  </pre>
  
  <p>Thats more like it, but I'm confused.</p>
  
  <p>Why is PowerShell is escaping the double quotes within the single quotes?
  Any PowerShell users out there?</p>