in reply to Re^2: How do you open a PDF file from a perl script in Windows?
in thread How do you open a PDF file from a perl script in Windows?

Yes, of course, if I had used strict and warnings, this would have been avoided. I know I am following Perl Worst Practices. I will reform my undisciplined coding ways. Thanks, oh brother sufferer, for the admonition. ;) Meanwhile, why is exec behaving so?
  • Comment on Re^3: How do you open a PDF file from a perl script in Windows?

Replies are listed 'Best First'.
Re^4: How do you open a PDF file from a perl script in Windows?
by Anonymous Monk on Feb 12, 2013 at 20:02 UTC

    exec requires an executable to run, not a regular file.