in reply to Running Perl program using backquotes

try putting a \ in front of the hyphen. It may be a special character that is being read wrong by perl. The \ will make perl read it literally.
  • Comment on Re: Running Perl program using backquotes