Add
#!/usr/bin/perl to the first line of your script. Mingbo -----Original
Message----- 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 |
Title: running perl program
- [Perl-unix-users] running perl program Zhang, Lynne C [ITS]
- RE: [Perl-unix-users] running perl program Craig B. Nakata
- Re: [Perl-unix-users] running perl program Anthony Ettinger
- Re: [Perl-unix-users] running perl program Mingbo_Wan
- RE: [Perl-unix-users] running perl program Zhang, Lynne C [ITS]