hi,
i have fc3, i downloaded a script called f2f.pl and i want to make use of it.
i believe i should compile it, but i am not sure how on my linux box. any help is appreciated.
Perl scripts are usually interpreted, not compiled. If you have perl installed, you can make the script executable on Linux with chmod +x scriptname.
First make sure the "shebang" line at the top of the script has the correct path to your Perl interpreter. You should be able to find this out by typing which perl at a command prompt. (I believe which is correct for Linux, but it's what or where on some other *nixes, and it's a while since I've worked on *nix.)
Unlike C or C++, you don't precompile Perl scripts.
If f2f.pl is executable (which mikevh gave you instructions to do), you can run the script by just typing `./f2f.pl'. If not, `perl f2f.pl' should run it for you.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.