![]() |
|
Clear questions and runnable code get the best and fastest answer |
|
PerlMonks |
comment on |
( #3333=superdoc: print w/replies, xml ) | Need Help?? |
Hmm. Well, this may seem like a silly question, but are
you sure that the PS file exists when run as a CGI script?
How does that PS file get there, after all? That's
not really apparent from your code.
So I'd put in a Perhaps also print out your environment and see if anything looks weird or wrong. Also, check the $? variable after you use the backticks. From perlvar: Also, you may want to check out PerlMagick, which provides a Perl interface to ImageMagick. So, presumably, you won't have to bother yourself with running system commands. One of Randal Schwartz's Web Techniques columns uses PerlMagick to create thumnbails on the fly, so you might take a look at that. In reply to Re: mysterious backticks/system() behavior in CGI script
by btrott
|
|