Thank you all for your help. I was using a wrong perl at the first line of my script.
Lynne -----Original Message----- From: Anthony Ettinger [mailto:[EMAIL PROTECTED] Sent: Thursday, July 31, 2003 10:05 PM To: Zhang, Lynne C [ITS]; [EMAIL PROTECTED] Subject: Re: [Perl-unix-users] running perl program 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