At the beginning of the script (on the first line), put
#!/usr/bin/perl
or whatever the path to your perl binary is
Make sure you chmod the .pl file with correct permissions, and then type
../script.pl

On Saturday, February 16, 2002, at 11:53 AM, Chris wrote:

> I'm using redhat linux 7.2 and have a question about running perl 
> scripts.
> How do you make it so you do not have to type "perl script.pl" every 
> time
> you want to run a scripts.  I just want to be able to type the name of 
> my
> script.  Thanks.
>
>
> --
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to