Why can I execute perl scripts from shell?
You can but most likely you are using the wrong syntax. Do not use the syntax “./ to execute your perl scripts through Telnet, as you will get a “Permission denied: program not allowed.” error. Instead, use the syntax “perl” to execute you perl scripts though Telnet. This syntax will still return any standard output or standard error returned by the script for debugging purposes.
Related Questions
- Can I use CGI scripts or executables written in languages other than G (perl, tcl, shell scripts, compiled code, etc) to process client requests?
- The first line of Perl scripts on our Unix box should contain #!/bin/perl. What is the proper path to execute perl on the SiteStak?
- Can I write my own programs, shell scripts, perl scripts, etc., on Mac OS X?