Try "%perl program.pl" at the command line if using
the shebang line doesn't work.

type "which perl" to get path..

#!/usr/bin/perl <- first line of script


--- "Zhang, Lynne C [ITS]"
<[EMAIL PROTECTED]> wrote:
> 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
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
_______________________________________________
Perl-Unix-Users mailing list
[EMAIL PROTECTED]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to