this has nothing to do with perl whatsoever, and besides, it already IS executable. "./First.pl" means you are executing it directly. What you actually mean is how can i not have to type the "./" part... you would need to have the location of that directory in your path variable, however that is a REALLY bad idea... just don't. you type ./ first to specify it is in the current directory, and these conventions exist for good reasons. this file is 100% as executable as any other command on your system. don't break conventions unless you have a handful of genuine reasons, and "because you want to" really doesn't cut it... that's the way to bad habits and poorly managed systems.
Last edited by acid_kewpie; 03-12-2005 at 05:12 PM.