general info on running Perl
General information about running a Perl script on your computer :
- To make it a little bit simpler, we assume you have
a UNIX operating system, either on a workstation (e.g.
Solaris)
or on a PC (e.g. Linux).
We have not tested on
Microsoft Window
or MacOS; but
in principle, Perl scripts should be portable.
- If you do not have Perl on your computer, you can download
it from (e.g.)
http://www.perl.com/CPAN or
http://language.perl.com/ .
- If you already had Perl on your system, type "which perl"
to find out the location of the executable. Most likely, it is
in "/usr/local/bin/perl".
- After downloading a Perl script, two things need
to be checked: (1) The permission mode of the script
should include the execute. On a UNIX system, it is done by
"chmod a+x [yourscript]", where [yourscript] is the
actual name of your Perl script.
- (2) The first line
of the Perl script is "#!/usr/local/bin/perl" or
"#![the path to your local Perl executable]", where
[the path...] is the actual path to the Perl on
your computer.
This is a companion page for
W Li, F Haghighi, "Perl as a tool for linkage analysis",
American Journal of Human Genetics, supplement to vol 65,
page A260 (1999) (poster number 1452 at the
Annual Meeting of American Society of Human
Genetics 1999, San Francisco, CA)