title: How to launch a program from perl?
body: <p>How do i launch firefox from perl? i just need to launch the browser so WWW::Mechanize::Firefox can manipulate it. Searching around stackoverflow ive seen a few solutionsl like <code>system('start cmd.exe /k $cmd)</code> where $cmd is arguments to throw as input once cmd is started. </p>
  
  <p>However, these have not helped me to solve my problem at all.</p>
  
  <p>solutions ive tried </p>
  
  <pre><code>system("start cmd.exe /k start firefox");
  system("firefox");
  system("cmd","start","firefox");
  system("cmd start firefox");
  </code></pre>
  
  <p>Basically a lot of the alternatives ive found, but i could not launch Firefox browser at all.</p>