We couldn't relay on one and forever predefined path to perl, different
projects are using different versions of perl. And we need .pl (or .pm)
extention for perl files because such a files are treated different by our
conf. mahagement system. Because of that we usualy have an additional file
for every .pl file. For example: for file hello.pl it will be file "hello"
contains

--------%<---------------
#!/bin/sh
exec perl $0.pl $*
--------%<---------------

HIH
Tim


-----Ursprüngliche Nachricht-----
Von: Zhang, Lynne C [ITS] [mailto:[EMAIL PROTECTED]
Gesendet: Donnerstag, 31. Juli 2003 19:22
An: [EMAIL PROTECTED]
Betreff: [Perl-unix-users] running perl program


Hi, 
My perl program has to be run as "perl program".  What should I do to make
it run by just type the program name alone, like
% program. I have changed the permission of the program to be -rx-rx-rx but
it didn't work alone. 
Thanks, 
Lynne Zhang 

_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to