gettingperlstarted

gettingperlstarted - Harvard-MIT Division of Health...

Info icon This preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
Getting Started with Perl Windows Download and Installation - Download ActivePerl , the MSI version for Windows. - If you're running Windows NT or 2000 make sure you're logged in as the administrator or have administrator privileges. - Install ActivePerl by double-clicking. Writing Perl Scripts - Perl scripts can be written using any text editor (e.g. Notepad, Microsoft Word) - We recommend an inexpensive text editor called Editplus which automatically color- codes your scripts, making them easier to read, write, and troubleshoot. - When using Word be sure to save your scripts as plain text and end the file name with the " .pl " extension. - When using Notepad filenames should also end with the " .pl " extension. - All perl scripts begin with the following line " #!/usr/bin/perl " - Cut and paste the following two lines into your editor and save it according to the above instructions. This is the "Hello, World" program for Perl. #!/usr/bin/perl print "Hello, World...\n"; Running Perl Scripts - Open a MS-DOS command line window by going to the Start menu and selecting
Image of page 1
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern