title: How to split a string by \ in perl?
body: <pre><code>use Data::Dumper qw(Dumper);
  
  @arr=split('\/',"\Program Files\Microsoft VisualStudio\VC98\Bin\Rebase.exe");
  
  print(Dumper \@arr);
  </code></pre>
  
  <p><strong>output:</strong></p>
  
  <pre><code>$VAR1 = [     
  
  'Program FilesMicrosoft VisualStudioVC98BinRebase.exe'
  
  ];
  </code></pre>
  
  <p><strong>Required output:</strong></p>
  
  <pre><code>$VAR1 = [     
  'Program Files',
  
  'Microsoft VisualStudio',
  
  'VC98',
  
  'Bin',
  
  'Rebase.exe'
  ];
  </code></pre>