|
Submitting Perl programs
Installing Perl
Perl is a free software package (www.activestate.com) that installs easily in a few minutes. To run Perl programs found on my webpage, you will need Perl 5.6 or more. If you are curious of why a statistician would think of Perl as a programming language, read my Invitation to Perl page. Running a Perl program from DOS prompt
Every Perl program can be run from DOS-prompt by typing the command
c:\perl\bin\perl.exe c:\myperlpgmdirectory\myperlpgm.pl [list-of-arguments]
However, this is not very user-friendly as long paths may need to be typed in everytime. Placing your favorite Perl programs onto your desktop is an elegant and convenient solution. Running this site's Perl programs
For programs such as WriteWinBUGSScript and RunWinBUGSScript, the list-of-arguments (above) consists in one or more file names. Their submission can be made much more user-friendly than through DOS-prompt by putting a link to each of them onto your desktop.
Repeat steps above for each Perl program. You can now use your Perl program by simply dragging and dropping input files onto the appropriate Perl program's desktop icon. |