On Mon, 11 Aug 2003 11:33:40 +0300, [EMAIL PROTECTED] (Octavian Rasnita) wrote:
>Hi all, > >Does anyone know why the perl scripts need to have the execute permission >under Unix? > >I am asking this because I've seen that the PHP files don't need this >permission. > >Couldn't perl just read a text file (doesn't matter if it has an execute >permission or not), interpret it and execute it just like PHP does with its >programs? perl scripts can be done the same way You can take any perl script, and remove the shebang line, chmod it to 644 , and run it like "perl scriptname" The way PHP is setup, the PHP interpreter is executable and calls it's readonly scripts. -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]