change permission chmod

Hi,
when I launch my perl script, I write on the shell:

perl x.pl

How I can can change the permission to write only:

x

to launch the program?

Rename x.pl to x, change permissions of x to 555 or 755 , and add the directory where 'x' resides to your path.

Thanks a lot!