Hi Ravi, The first line "#!...." tells the program how te read the executable. F.e. if you would change it into "#!/bin/ksh" it means your (perl) script will be executed using ksh. Therefor you will get errors from the korn-shell as it's a different language.
The meaning of this is that whenever users have f.e a born-shell (in the passwd-file) and you have written a korn-shell scipt you can explicitly always use a korn-shell to execute the program. So in that case you can also tell him to use a different version of perl, just lead him to the correct location. Hope this clarifies the meaning of the first line for you. Regs David -------- > But the command line "/blah/blah/local/bin/perl" doesn't seem to override any > #! definition. > I tried some dirty definitions like #! /bin/opt, #! /opt/bin/opt etc & it > didn't work and I was shown : > Can't exec /opt/bin/opt at diamond.pl line 1. > Why ?? > Thanks again, > Ravi ********************************************************************* This message is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged information, the disclosure of which is prohibited. If you are not the intended recipient you may not read, use, disseminate or copy the information transmitted. If you have received this message in error, please contact the sender and delete the material from any computer. Dit bericht is uitsluitend bestemd voor de (rechts)persoon aan welke het is gericht. Het kan vertrouwelijke of alleen voor deze bestemde informatie bevatten, die niet mag worden geopenbaard. Als dit bericht niet voor u bestemd is, mag u de ontvangen informatie niet lezen, gebruiken, verspreiden of kopieren. Als u dit bericht abusievelijk hebt ontvangen, gelieve u het te deleten en contact op te nemen met de afzender. ******************************************************************** ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ********************************************************************** -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]