P is for Practical | |
PerlMonks |
Re^2: Mac::AppleScript::Glue in CGI scriptby Cody Pendant (Prior) |
on Nov 13, 2004 at 08:44 UTC ( [id://407597]=note: print w/replies, xml ) | Need Help?? |
I'm sorry not to have pointed out, I didn't just take the script above and try to run it as a CGI.
I printed a valid header and used CGI::Carp and that didn't help. It still died silently at the line noted. Here's a script which works in the command-line and not in the browser:
It gets as far as the first success message, and then, if the file exists, just stops. If I try it on a file which doesn't exist, then yes, I get a failure from AppleScript and CGI::Carp does its thing. But if there is a file at that location, then it just stops. What can I investigate in terms of permissions? ($_='kkvvttuubbooppuuiiffssqqffssmmiibbddllffss')
In Section
Seekers of Perl Wisdom
|
|