Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: How do you open a PDF file from a perl script in Windows?

by hmj6jmh (Initiate)
on Feb 12, 2013 at 17:55 UTC ( #1018420=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018420]
help
Chatterbox?
[marto]: good morning all
[prospect]: Good morning ! More Perl learning today, Man that subroutines chapter is tough.

How do I use this? | Other CB clients
Other Users?
Others chanting in the Monastery: (4)
As of 2017-07-24 07:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (348 votes). Check out past polls.